Thanks Henrik,
well, you nailed it, and I don't know why. I deleted the original code and inserted yours and it compiled fine. Just for fun I'll look at the ascii code originally there and see if...
Hello Henrik,
you and I have talked about this code a few times now. I had to change my name to protect the guilty! Actually I lost my original password and tried to recover the password but never...
That code sure doesn't compile but it's not because of RCSTA1.7=0 but rather END SELECT. If I remove END SELECT the reset does compile here.
Since you claim it compiles if you comment out RCSTA1.7=0...
Here is the code listing. The compiler complains about the RCSTA1.7 = 0 command. If I comment it out, the rest of the code compiles fine. The error message is "bad expression"
Published on - 27th June 2012 15:31
Number of Views: 4426
Hi All!
Here is the code to create a voltmeter and ammeter. Everyone has a "display of choice" so you can use this to drive whatever display you wish to add. The color coding of the wires is only as a reference to make construction easier. I understand from Allegro that the ACS758 can handle as much as 200 amps and 72 amps is about maximum for this code. Hope this is of use and helpful to others.
Re: PBP and IDE/programmer
The programming spec document for the 12F508 states that the min VDD for programming and bulk erase is 4.5V, so I'd increase that just to be safe....
tumbleweed Today, 13:19