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...
Type: Posts; User: TerdRatchett; Keyword(s):
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...
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.
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...
Update: I wrote a value of $FF to the porta register on initialization and had the same failure.
Thanks aerostar! They are uppercase in the MicroCode Studio editor. I get no errors.
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...
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,...
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...
Hmmm...
The forum is truncating contiguous spaces which is not conducive to documenting actual working code :(
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:...
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 " _
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...
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...
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...
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...
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...
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...
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...
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
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...
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...
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
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...
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.
...
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...