SHARE
TWEET

Untitled

a guest Apr 25th, 2019 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. void loop() {
  2.   i++;
  3.   delay(500);
  4.   String tx_message = "Nr. of TX attempts: " + String(i);
  5.   int m_length = tx_message.length();
  6.   byte txbyte[m_length];
  7.   tx_message.getBytes(txbyte, m_length + 1);
  8.   Serial.println((char *)txbyte);
  9.   ELECHOUSE_cc1101.SendData(txbyte, m_length);
  10. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top