pic16f505 serin2 not supported?
hi
can any one tell me if pic16f505 supports serin2 command? i tried the below code but it gives me error, "SERIN2DPIN?T not found in macro file"
Code:
define OSC 4
include "modedefs.bas"
temp var byte
main:
SERIN2 PORTC.1, 84, [temp]
goto main
thank you
Re: pic16f505 serin2 not supported?
I think this is a problem for MeLabs support.
Re: pic16f505 serin2 not supported?
In the PBP manual under SERIN2, you'll find this note.
Quote:
SERIN2 is not supported on 12-bit core PIC MCUs due to RAM and stack constraints.
The PIC16F505 has a 12-bit core.
Re: pic16f505 serin2 not supported?
DOH!!!!!!
I forgot about that. :(