This is a simple example showing how to work with el-cheapo type RF modules using PBP SEROUT2/SERIN2, and showing how to break-out of a SERIN2 line, with interrupts, for a remote control decoder that operates in momentary mode.
The interrupt resets the decoder output pins if no data is received on time, or the encoder button is released.
It's really simple stuff, but rock-solid, and shows how easy it is to use simple PBP serial commands with RF applications.
Note: Please don't ask how to change this for a different PIC type without first reading its data sheet, and learning how to setup different onboard peripherals. It should work pretty much the same with any PIC type if you just do a little research first...;o)
Bookmarks