Search Results - MEL PICBASIC Forum


Search:

Type: Posts; User: Phil Moore; Keyword(s):

Search: Search took 0.00 seconds.

  1. Ioannis has a point (but maybe not the one I...

    Ioannis has a point (but maybe not the one I initially thought he was making... ).

    What about:

    if (a.highbyte xornot b.highbyte) and (a.lowbyte xornot b.lowbyte) then

    ' do stuff

    endif
  2. Hi Bill, How about: if (A XORNOT B) then...

    Hi Bill,

    How about:

    if (A XORNOT B) then something

    XORNOT is a logical comparison testing for equality basically...

    Phil.
  3. Replies
    3
    Views
    6,592

    OK, So what you really want is a SLA battery...

    OK,

    So what you really want is a SLA battery charge circuit driven from a solar panel. Why didn't you say so? :)

    Now, I'm no battery expert, but from what I understand, (sealed) lead acid...
  4. Replies
    3
    Views
    6,592

    Ambrogio, Use a switch mode regulator. I've...

    Ambrogio,

    Use a switch mode regulator. I've had great success with the LM2576.

    http://www.national.com/mpf/LM/LM2576.html

    You'll need 2 x low ESR caps, 1 x 47uH..100uH choke and a fast...
  5. Replies
    3
    Views
    6,313

    A real String type & functions to match

    How about a real string type and some string manipulation & comparison functions?

    I know I could write them myself (and have done in the past), but I live in hope!

    And I don't feel like...
  6. Replies
    8
    Views
    6,014

    Hey Bill, Remember the piezo driven off a...

    Hey Bill,

    Remember the piezo driven off a MAX232? ... +/- 10V for not much extra work. Just reference the output to ground to get +10V. You have any spare lines on your level converter?

    Phil.
  7. Replies
    3
    Views
    4,393

    And make sure that all your DEFINE statements are...

    And make sure that all your DEFINE statements are in upper case, ie:

    Define LCD_DREG PORTD

    should be

    DEFINE LCD_DREG PORTD

    (Skimask & Bruce pointed this out to me last week!)
  8. Replies
    12
    Views
    8,338

    Aaaaarrrrggggghhhhhh! That was it - thanks...

    Aaaaarrrrggggghhhhhh!

    That was it - thanks Bruce & Skimask - make sure WHOLE DEFINE is in UPPERCASE.

    Mutter, mutter, mutter! Too many IDEs, too many languages, not enough grey cells!

    Again,...
  9. Replies
    12
    Views
    8,338

    Yeah, saw that too, changed define to DEFINE both...

    Yeah, saw that too, changed define to DEFINE both times (double checked with Notepad).
    No joy.
    I'm just going to stick with Serout2 for now - it's less painful! I'll sort out DEBUG later.
    Thanks...
  10. Replies
    12
    Views
    8,338

    Skimask, Also changed ADCON0 to 0 (just in...

    Skimask,
    Also changed ADCON0 to 0 (just in case),
    Serout2 works OK (same pin) but that's not the point!
    Sanity rapidly departing, need to go away and have a think.
    Thanks for your help - another...
  11. Replies
    12
    Views
    8,338

    Hi Skimask, Changed ADCON1 to $f, but no joy...

    Hi Skimask,

    Changed ADCON1 to $f, but no joy (if that's what you meant).

    Phil.
  12. Replies
    12
    Views
    8,338

    Hi Skimask, I did change over from PM to MPASM...

    Hi Skimask,

    I did change over from PM to MPASM as I was doing other stuff with 18F chips, however, the only config change I made to the 16F737.INC file was to set clock to INTRC with IO. This is...
  13. Replies
    12
    Views
    8,338

    pic Basic Pro 2.50a & debug statement

    Code below for 16F737 compiles & runs just fine under PBP 2.46. Compile under 2.50a and everything runs OK *EXCEPT* DEBUG (nothing changes on debug pin).

    Running MicroCode Studio v3.0.0.5 & WinPIC...
Results 1 to 13 of 13