Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void loop() {
- i++;
- delay(500);
- String tx_message = "Nr. of TX attempts: " + String(i);
- int m_length = tx_message.length();
- byte txbyte[m_length];
- tx_message.getBytes(txbyte, m_length + 1);
- Serial.println((char *)txbyte);
- ELECHOUSE_cc1101.SendData(txbyte, m_length);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement