
RF Practice
Programming Flow
1. Set COM port (SET_COM_TYPE)
Assign COM2 to RF communication, i.e. SET_COM_TYPE(2,5).
2. Open COM port (OPEN_COM)
To initialize the RF module and set up connection, call OPEN_COM(2).
3. Set COM delimiter (COM_DELIMITER)
For example, use carriage return (0x0d) as the string delimiter by calling
COM_DELIMITER(2,13).
4. Data Transmission
To transmit/receive data, call WRITE_COM(2) and READ_COM$(2) respectively.
5. Close COM port (CLOSE_COM)
To disable the RF module, call CLOSE_COM(2).
Comentarios a estos manuales