Toll-Free Customer Support 24/7

LI FI CODE RX

/*
* Project name:
Lifi rx
* Copyright
(c) Researchdesignlab.com
* Description:

* Test configuration:
MCU: ATMEGA328
Dev.Board: Arduino uno
Oscillator: 16 MHz
Software: Arduino

*/

 

char rec;

void setup()
{
Serial.begin(57600); // initialize the serial communications
}


void loop()
{
if(Serial.available())
{
rec=Serial.read(); //wait to recive the data
}
Serial.write(rec);
}


 

Back to top