Hello everyone,
I have this codes that’s working fine on UNO and now I want to have it on Bluno where the Blutooth is built in
can some one help me in making the needed changes
I am pretty sure it is very simple on you but not me
#include <SoftwareSerial.h>
SoftwareSerial mySerial(10, 11); // RX, TX
char x;
void setup() {
// put your setup code here, to run once:
mySerial.begin(9600);
pinMode(13,OUTPUT);
}
void loop() {
// put your main code here, to run repeatedly:
if(mySerial.available()){
x=mySerial.read();
if(x==‘1’){
digitalWrite(13,HIGH);
}else digitalWrite(13,LOW);
}
}
_13_high.ino (374 Bytes)