Project

You might also like

Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 1

int incomingByte = 0; // for incoming serial data

void setup() {
Serial.begin(900); // opens serial port! sets data rate to 900 bps
"
void loop() {
// send data only #$en you receive data%
if (Serial.available() & 0) {
// read t$e incoming byte%
incomingByte = Serial.read();
// say #$at you got%
Serial.print('( received% ');
Serial.println(incomingByte! )*+);
"
"

You might also like