Advertisement
kekellner

Ejemplo comunicacion Serial

Mar 22nd, 2021
1,197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. void setup() {
  2.   //Initialize serial and wait for port to open:
  3.   Serial.begin(9600);
  4.   while (!Serial) {
  5.     ; // wait for serial port to connect. Needed for native USB port only
  6.   }
  7. }
  8.  
  9. void loop() {
  10.   Serial.println("Hola mundo!");
  11. //  Serial.print('a');
  12.   delay(500);
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement