p.s.
That's on the 16f505 chip, not the 508
p.s.
That's on the 16f505 chip, not the 508
The OPTION register is accessed the same as any other 16F. PBP translates it to an assembly OPTION command on 12-bit cores.
To use RC5 as an output pin, use ...
Code:OPTION_REG.5 = 0
DT
Thanks Darrell, worked like a charm. Options are not so clear in the documentation.
Bookmarks