Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void setup() {
- Serial1.begin(9600);
- }
- void loop() {
- Serial1.println("Hello world");
- if(Serial1.available()){
- Serial1.print("Reply) ");
- while(Serial1.available()){
- Serial1.write(Serial1.read());
- }
- Serial1.println();
- }
- delay(1000);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement