ImI'm getting frustrated with my electronic knowledge, because I want to do this simple thing:
Olimex 328/ATMega328 reads data from UART (Olimex MOD-PULSE or whatever) and forwards it to the USB Port (my computer).
I dontdon't understand how I can do this,. I wrote following programmprogram:
void setup() // run once, when the sketch starts
{
Serial.begin(9600);
Serial1.begin(9600);
}
void loop() // run over and over again
{
Serial.println(Serial1.read()); // prints hello with ending line break
}
But it doesntdoesn't work, since Serial1 isdoes not existing.exist. Could you give me a hint? I dontcan't find anything understandable (for me) inthat I can understand on the internet..Internet. Thanks!