From £14.95 |
Buy it Now The new LAB-X3 is microEngineering Labs, Inc.'s newest experimenter's platform. It provides a full complement of hardware peripherals for an 18-pin microcontroller such as the PIC16F84 or PIC16F628. |
Hi Troy,
You were right on in assuming that I misunderstood how the Qualifier works. With your help, now I do!
I've modified the program accordingly and now it works perfectly!
Thank you...
Maybe all you want then is just:
Serin PrgIn,1,5000,MainLoop, ProgIDRx
?
Troy
you misunderstand how the qualifier works
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
...
Hi Richard,
Thank you and appreciate for your input.
The function of this program is to allow the reprogramming of the Receiver's ID.
The program is structured to provide a five second period...
works perfectly for me if you don't try to use qualifier before you actually set it to a meaningful value as rocket troy indicated
#CONFIG; set CONFIG1 for internal oscillator, watchdog on,...
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...
rocket_troy Today, 02:07Hi Troy,
I understand what you're saying. But I do declare ProdIDRx as a Byte variable in the beginning of the program as "ProgIDRx VAR BYTE".
What am I missing here?
Well, that's what I'm confused about. Don't you need to actually nominate something as the qualifier rather than an empty variable?
p207 of the manual:
"list of data items to be received may be...
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...
JESmitter Today, 01:41From £14.95 |
Buy it Now The new LAB-X3 is microEngineering Labs, Inc.'s newest experimenter's platform. It provides a full complement of hardware peripherals for an 18-pin microcontroller such as the PIC16F84 or PIC16F628. |
Re: Supplier delivery speed
Have yet to beat that speed!
Ioannis Today, 16:54Ioannis