Search Results - MEL PICBASIC Forum


Search:

Type: Posts; User: PICn-It; Keyword(s):

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    5,867

    Ahhh that makes some sense, thank you.

    Ahhh that makes some sense, thank you.
  2. Replies
    3
    Views
    5,867

    Remainder (Modulus, Modulo)

    Can someone give me a hand understanding how to use the remainder (Modulus) operator properly.

    For instance I'm trying to divide 480 by 148. On my calculator I get 3.24.

    When I try to use // in...
  3. Replies
    6
    Views
    4,827

    Yes, good catch. In my code, currently I can't...

    Yes, good catch.

    In my code, currently I can't figure out how to steady up the 10-bit ADC reading, so I temporarily REM'd those lines:

    ADC_BITS 10
    MYNUMBER VAR WORD

    and temporarily put in:...
  4. Replies
    6
    Views
    4,827

    Ahh, I see. I was hoping there would be some...

    Ahh, I see. I was hoping there would be some compiler directive/keyword/function-switch to use in PBP, something like printf in C but this is fine, whatever works ...right?.

    Since I need a posible...
  5. Replies
    6
    Views
    4,827

    Can we suppress leading zero's in LCDOUT?

    I'm trying to print a value in a BYTE sized VAR to a specific place on the LCD.
    (a standard 16x2, and using DT's Anypin.php)

    I need to get the number right-justified and w/o leading zero's.

    I...
  6. Thread: LCD_AnyPin.pbp

    by PICn-It
    Replies
    108
    Views
    158,258

    Sticky: Ok, making great progress. I recieved my...

    Ok, making great progress.

    I recieved my development board, plugged everyting in and coded up the demo example again ....and I'm getting text! :)
    (woo-hoo!)

    I'm getting:

    #numbers Hello,...
  7. Thread: LCD_AnyPin.pbp

    by PICn-It
    Replies
    108
    Views
    158,258

    Sticky: I'm sorry I don't understand your post, but I...

    I'm sorry I don't understand your post, but I tried it with MCRLE_OFF and it makes no difference. I must have some other issues I'm yet unaware of. I have ordered a proper dev board so when that...
  8. Thread: LCD_AnyPin.pbp

    by PICn-It
    Replies
    108
    Views
    158,258

    Sticky: Actually I see you have a pull-up on pin 1 and...

    Actually I see you have a pull-up on pin 1 and also have pin 7 tied low.

    I don't see how pin 7 can be any problem for me but looking at the PCB I notice it doesn't have the pull-up on pin 1.
    ...
  9. Thread: LCD_AnyPin.pbp

    by PICn-It
    Replies
    108
    Views
    158,258

    Sticky: I'll try adding that, thank you. I'm sorry to...

    I'll try adding that, thank you. I'm sorry to keep bugging you about this.



    The circuit board is an existing design, I'd love to move things but I have to go with the produced PCB. The next...
  10. Thread: LCD_AnyPin.pbp

    by PICn-It
    Replies
    108
    Views
    158,258

    Sticky: (sound of crickets chirping....)

    (sound of crickets chirping....)
  11. Thread: LCD_AnyPin.pbp

    by PICn-It
    Replies
    108
    Views
    158,258

    Sticky: Schematic attached. (Note that in the code I'm...

    Schematic attached.
    (Note that in the code I'm not doing anythng with the sensor yet, and it's disconected from AN0 right now)
  12. Thread: LCD_AnyPin.pbp

    by PICn-It
    Replies
    108
    Views
    158,258

    Sticky: Yes, when I plug it into another pic controlled...

    Yes, when I plug it into another pic controlled unit I get both lines of verbiage expected.



    The circuit board has the RW line hard-wired to ground.

    Would it be better to re-post this Q over...
  13. Thread: LCD_AnyPin.pbp

    by PICn-It
    Replies
    108
    Views
    158,258

    Sticky: Still no traction

    I'm still not getting anywhere with this. :o

    At this point I've tried so many things I can't tell where I'm at anymore. :(

    I think the LCD_Anypin code is working, it compiles w/o error and...
  14. Thread: LCD_AnyPin.pbp

    by PICn-It
    Replies
    108
    Views
    158,258

    Sticky: Sorry, never mind that last post. I realized...

    Sorry, never mind that last post.

    I realized that I included the files LCD_AnyPin.pbp and VirtualPort.bas (in the files applet) rather than just having them referenced from my *.bas, and that was...
  15. Thread: LCD_AnyPin.pbp

    by PICn-It
    Replies
    108
    Views
    158,258

    Sticky: Darrel, so I cut-n-pasted your exact code into a...

    Darrel, so I cut-n-pasted your exact code into a new project, changed only the LCD VARs, and am now getting much farther than before...but...

    Now I'm getting stuck when LCD_Anypin.pbp compiles,...
  16. Thread: LCD_AnyPin.pbp

    by PICn-It
    Replies
    108
    Views
    158,258

    Sticky: Ah... got it! Sorry for the apparent trouble...

    Ah... got it!

    Sorry for the apparent trouble Darrel. Thanks for walking me through it, I appreciate your time very much, and I appreciate your work on this code.
  17. Thread: LCD_AnyPin.pbp

    by PICn-It
    Replies
    108
    Views
    158,258

    Sticky: I must have some other issue at hand then if it's...

    I must have some other issue at hand then if it's really that simple.

    Just for the sake of it I created a new project with the following minimal code, it still fails:
    (again MPLAB v8.40, PBP...
  18. Thread: LCD_AnyPin.pbp

    by PICn-It
    Replies
    108
    Views
    158,258

    Sticky: I'm sorry, I should have posted a code snippet...

    I'm sorry, I should have posted a code snippet for you to see, I already did define them, is a "declaration" different that this?:


    ; Define LCD registers and bits
    DEFINE LCD_DREG PORTB ;...
  19. Thread: LCD_AnyPin.pbp

    by PICn-It
    Replies
    108
    Views
    158,258

    Sticky: Noob alert!

    I hate to sound like a noob (but I am) so here goes.... :o

    I needed to do exactly this in a project, move the LCD data bus to different pins that is, I did the edit, saved the files (yes...
Results 1 to 19 of 19