Search Results - MEL PICBASIC Forum


Search:

Type: Posts; User: TerdRatchett; Keyword(s):

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Re: A/D IO pins changing function while running?

    Thanks to everyone for their help! I found the actual problem yesterday. As it turns out there was a transient coming in on an A/D pin other than the one I was using to measure the high voltage. I...
  2. Re: A/D IO pins changing function while running?

    In addition if I comment out the line that turns on PWM I get no voltage drop across the input resistor and the A/D reads the voltage correctly. It almost appears as if the PWM is affecting the A/D.
  3. Re: A/D IO pins changing function while running?

    Thanks Art, I corrected that error but the problem persists. What I have found is that while in a tight loop reading any A/D input the input impedance becomes much lower and causes A/D readings that...
  4. Re: A/D IO pins changing function while running?

    Update: I wrote a value of $FF to the porta register on initialization and had the same failure.
  5. Re: A/D IO pins changing function while running?

    Thanks aerostar! They are uppercase in the MicroCode Studio editor. I get no errors.
  6. A/D IO pins changing function while running?

    Hi Friends!

    I am experiencing some strange activity with the A/D converter on my project. The design uses a

    PIC16F876A.

    I have a tight loop which monitors the voltage from an output circuit...
  7. Re: No choice but to use PBP on 64 bit versions of Windows :(

    Thanks much Archangel for your help!

    I tried reinstalling MPLAB, but to no avail. There is no file in it's directory structure called P16F876A.INC. I found a file online by the same name,...
  8. No choice but to use PBP on 64 bit versions of Windows :(

    No choice but to use PBP on 64 bit versions of Windows :(

    My 32 bit machine died so I was forced to buy a new 64 bit Windows 7 machine, now I'm frustrated to find after reloading everything that...
  9. Replies
    4
    Views
    3,473

    Hmmm... The forum is truncating contiguous...

    Hmmm...

    The forum is truncating contiguous spaces which is not conducive to documenting actual working code :(
  10. Replies
    4
    Views
    3,473

    As it turns out you were close Jerson, just have...

    As it turns out you were close Jerson, just have to close each group with end quote then follow it with a ,_

    Compiles fine, works great! Much easier to visualize and manage.....

    GLCDPopup:...
  11. Replies
    4
    Views
    3,473

    Hi Jerson, Thanks for always being helpful! ...

    Hi Jerson,

    Thanks for always being helpful!

    I tried your syntax and I get:
    ERROR Line 3426: Expected ']'. (PMonitor 05-18-2009.pbp)

    after:
    [" Verify PM Connection " _
  12. Replies
    4
    Views
    3,473

    Lookup table syntax.....

    To make my lookup tables easy to manage I use the underscore to continue
    the data in equal lengths on the next line like this:

    splashscreen:
    Lookup...
  13. Replies
    2
    Views
    3,420

    :)

    Dear scalerobotics,

    I thank you very much for the excellent response. You answered my question with 245//10 as opposed to 245/10. I had noticed that in the book when I first read it months ago but...
  14. Replies
    2
    Views
    3,420

    Line Graph, math problem...

    I am writing a custom graphing function for a GLCD display. I'm having some difficulty in the math to calculate which dot gets shown for a given input. My math leaves me with a decimal value, which...
  15. Replies
    0
    Views
    2,352

    Longs and Serial EEPROMS...

    Ok, now I have my Long!

    http://picbasic.co.uk/forum/showthread.php?t=10729

    Problem is the data has to go into an EEPROM. I am using the SHIFTOUT successfully for bytes, but what do you do with...
  16. Replies
    6
    Views
    6,365

    Hi Jerson and Jerry, I appreciate the help...

    Hi Jerson and Jerry,

    I appreciate the help from both of you. I was able to take the parts I liked best from both of your functions and merge them into this....

    MyData var byte[5] 'Data...
  17. Replies
    6
    Views
    6,365

    I've got the code entered and possibly working,...

    I've got the code entered and possibly working, so I created some quick test code to verify it. But I'm not getting the results i expected...

    I'm just doing a HSEROUT [longvalue] after forcing...
  18. I'm not exactly sure why but it started working....

    I'm not exactly sure why but it started working. If it may help someone else here's what I did....

    I created a simple test program, and compiled it and it worked. Then I added Include...
  19. Hi Bruce, Thanks for your help! I saw that,...

    Hi Bruce,

    Thanks for your help!

    I saw that, but it doesn't seem to apply in this case. This exact code compiles and runs perfectly on my desktop machine!

    Any other ideas?

    TIA,
    TR
  20. Fatal xxx.ASM 527: [308] macro buffer overflow

    I installed PB Pro on my laptop to make my development portable. It runs, but I get "Fatal xxx.ASM 527: [308] macro buffer overflow" on a known good program when compiling.

    I saw a similar thread...
  21. Replies
    6
    Views
    6,365

    Hi Jerson, You mean the answer is in one of my...

    Hi Jerson,

    You mean the answer is in one of my own former posts? That's embarrasing :)

    At that point thanks to your code slightly modified I was able to parse my serial port data into two...
  22. Replies
    6
    Views
    6,365

    Hi Jerry, Thanks! I think I understand, that...

    Hi Jerry,

    Thanks! I think I understand, that looks like it could work.

    One question though...

    How in the devil do you get the bytes to take the form of a long?

    TR
  23. Replies
    6
    Views
    6,365

    ASCII to Long conversion

    Hi Guys,

    I have some ASCII arrays of [5] left justified and I need to convert them to Longs. I'm not sure how to go about doing that and I think the left justification complicates things. Any...
  24. Replies
    6
    Views
    3,816

    Hi Dave, Thanks again for your help. I...

    Hi Dave,

    Thanks again for your help.

    I have considered your idea but I can't figure out how to implement it because the GOSUB LCD_THINGY routine makes 64 lookups of the table in question.
    ...
  25. Replies
    23
    Views
    15,133

    Hi Dave, I think your latest solution might...

    Hi Dave,

    I think your latest solution might have worked, but I had already got it working by parsing it after the fact based on Jersons parse routine. I really appreciate everyones input. Here is...
Results 1 to 25 of 41
Page 1 of 2 1 2