Hello,
I have modified the VirtualWire library originally developed for Arduino in order to be able to run it on PIC32 Microcontrollers. The main changes concern the interruption setup and handling (OC1 and Timer 2).
VirtualWire is a library that provides features to send short messages without addressing, retransmit, or acknowledgment, a bit like UDP over wireless, using ASK (amplitude shift keying). It supports a number of inexpensive radio transmitters and receivers. All that is required is transmit data, receive data, and (for transmitters, optionally) a PTT transmitter enable.
In addition, I have added 2 functions in the
VirtualWire lib, vw_send_float
and vw_get_float
.
These functions allow you to:
#define VW_TEMPERATURE_DATA_TYPE 250
#define VW_LIGHT_DATA_TYPE 251
For more information, click the following links:
Don't hesitate to use VirtualWire, and feel free to ask any questions. Eric