Ok, this is the code i tried to use:
int send = 5;
int income = 0;
void setup() {
Serial.begin(9600);
}
void loop(){
// transmitter
Serial.print("I sent: ");
Serial.println(send, DEC);
// reciever
if (Serial.available()) {
// read the incoming byte:
income = Serial.read();
// say what you got:
Serial.print("I received: ");
Serial.println(income, DEC);
}
}
But I get an errror when i want to move the code to the arduino board. --> "Programmer is not responding." (even through pressing RESET)
When I remove the PINS from 1 (TX) and 0 (RX) installation is possible
THis is how I configured the board and the modules:
Thanks for your help