this can not work as you set the qualifier to 0x0d as per my example , ProgIDRx will always be 0x0d
untill you change it , serin will never change it
...
Yes, I'm aware you declare it, but you don't assign anything to it. It's there as a newly declared variable with the contents of null. So, I'm guessing serin is waiting for a null character to arrive...
This is a photo of the packet (8N1) generated by my PIC transmitter and that for some reason is not being received by my PIC receiver port GPIO.5. It's a two byte transmission $A and $61. Its in...
looks right now, ...... first post was unsure for OSCCON..... no wait !!!!! check for ... $01100001, bit 0, system clock ,,, but looks like you had it right UNLESS the configuration setting didn't...
Published on - 27th June 2012 15:31
Number of Views: 3963
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: Serin Not Recognizing Qualifier From Another PIC
Maybe all you want then is just:
rocket_troy Today, 05:03Serin PrgIn,1,5000,MainLoop, ProgIDRx
?
Troy