SHARE
TWEET

Untitled

a guest Oct 21st, 2019 72 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. void setup() {
  2.   Serial1.begin(9600);
  3. }
  4.  
  5. void loop() {
  6.   Serial1.println("Hello world");
  7.  
  8.   if(Serial1.available()){
  9.     Serial1.print("Reply) ");
  10.  
  11.     while(Serial1.available()){
  12.       Serial1.write(Serial1.read());
  13.     }
  14.     Serial1.println();
  15.   }
  16.   delay(1000);
  17. }
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
 
Top