Guest User

Untitled

a guest
Apr 1st, 2021
320
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.61 KB | None | 0 0
  1. #define ESerial Serial2
  2. // --------------------------------------------
  3. //    PIN TCAll <--> E32868T30D
  4. // --------------------------------------------
  5. #define PIN_M0 19  // connect this to the EBYTE M0 pin  | GIALLO |  ARANCIO
  6. #define PIN_M1 35  // connect this to the EBYTE M1 pin  | VERDE  |  GIALLO
  7. #define PIN_TX 12  // connect this to the EBYTE RX pin  | BLU    |  BLU
  8. #define PIN_RX 14  // connect this to the EBYTE TX pin  | VIOLA  |  VERDE
  9. #define PIN_AUX 34 // connect this to the EBYTE AUX pin | GRIGIO |  VIOLA
  10.  
  11. LoRa_E32 e32Series(PIN_RX, PIN_TX, &ESerial, PIN_AUX, UART_BPS_RATE_9600, SERIAL_8N1);
Advertisement
Add Comment
Please, Sign In to add comment