PICBASIC PRO program displays to 3 x 7 segments LED display the result of pulse count on PORTA.4 pin/sec. Based on a 16F84A. Schematic included. Written by Steve Monfette counter.zip |
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:41looks 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...
amgen Today, 01:40Hi Amgen,
I don't recall why I included a PPL in my oscillator comment but, I believe that I have my OSCON statement correct for an internal 4 MHz cock. Right?
OSCCON = %01100000 ' Set system...
Hi Troy,
Here's my OSCON
OSCCON = %01100000 ' Set system clock 4MHz(1MHz internal w/x4 PLL enabled)
My SERIN SYNTAX
SERIN PrgIn,1,5000,PassProg,[ProgIDRx],IDByteRx ' Check for...
Then, don't you need to nominate the qualifier as being something? like:
Serin PrgIn,1,5000,PassProg,["ABC"],IDByteRx ' Wait for 5 seconds for "ABC" to arrive then put contents in IDByteRx?
Troy
if using 12f683 ..... check your OSCCON ..... no PLL on 12f683 unless there is new 12f....
9659
PICBASIC PRO program displays to 3 x 7 segments LED display the result of pulse count on PORTA.4 pin/sec. Based on a 16F84A. Schematic included. Written by Steve Monfette counter.zip |
Re: Serin Not Recognizing Qualifier From Another PIC
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
richard Today, 02:24#CONFIG; set CONFIG1 for internal oscillator, watchdog on,...