obr
Home » Support » How to start - 1st design » Example - RF packets

Example – RF packets


Transmitting the "K3" message

  DLEN = 2;                             // 2 bytes
  bufferRF[0]=’K’; bufferRF[1]=3;       // from bufferRF
  RFTXpacket();                         // send to all who is in range

Receiving the "K3" message

  RFRXpacket();                         // Receive what is just sending
                                        // Packet length (2 bytes) is stored in DLEN
                                        // Received data ("K3") is stored in bufferRF
© MICRORISC s.r.o.