How do I get the arduino to store more than 1 alphanumeric letter?
i have tried run below program displaying
exit status 1
invalid conversion 'const char*' 'char' [-fpermissive]
char = "a";
void setup() {
serial.begin(9600);
}
void loop() {
if(serial.available() > 0){
= serial.read();
serial.print("you typed");
serial.println(a);
}
}
exit status 1
invalid conversion 'const char*' 'char' [-fpermissive]
char = "a";
void setup() {
serial.begin(9600);
}
void loop() {
if(serial.available() > 0){
= serial.read();
serial.print("you typed");
serial.println(a);
}
}
Arduino Forum > Using Arduino > Programming Questions > How do I get the arduino to store more than 1 alphanumeric letter?
arduino
Comments
Post a Comment