Skip to content

Instantly share code, notes, and snippets.

@iotguider
Last active May 18, 2018 12:30
Show Gist options
  • Save iotguider/3fc5b02caa8e0183d258287ca32725b5 to your computer and use it in GitHub Desktop.
Save iotguider/3fc5b02caa8e0183d258287ca32725b5 to your computer and use it in GitHub Desktop.
Code for Serial communication sender Arduino
char mystr[5] = "Hello"; //String data
void setup() {
// Begin the Serial at 9600 Baud
Serial.begin(9600);
}
void loop() {
Serial.write(mystr,5); //Write the serial data
delay(1000);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment