Advertisement
Guest User

Untitled

a guest
May 21st, 2019
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.25 KB | None | 0 0
  1. #include <SoftwareSerial.h>
  2.  
  3. SoftwareSerial mySerial(-1, D0); //Define hardware connections
  4.  
  5. void setup() {
  6.   mySerial.begin(2400);    //Initialize software serial with baudrate of 115200
  7.  
  8.   mySerial.print("Hello world!");
  9. }
  10.  
  11. void loop() {
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement