Hi
I'am new to this forum and to arduino world, I have a question, please forgive me if this has been done before but i looked through the internet but did not find some thing similar to what i want to do,
Basicaly i want to set a value in my sketch using hyperterminal or similar. can anyone point me in the right direction
Example:
if (buttonState == HIGH) { // I want to change "HIGH" To LOW using Hypertermial :(
// turn LED on:
digitalWrite(ledPin, HIGH); // Change this High to low and vis versa
} else {
// turn LED off:
digitalWrite(ledPin, LOW);
}
Can anyone point me in the correct direction on doing this
Ivanfd1:
Basicaly i want to set a value in my sketch using hyperterminal or similar.
The Arduino Serial Monitor is similar and there must be dozens or hundreds of examples of sending data to an Arduino using the Serial Monitor. Have you studied the examples that come with the Arduino IDE?
What works with the Serial Monitor should work with other terminal programs.
Thanks Robin for replying. I have been searching the net for the right format for my application.
I have read Serial Event , Firmata etc.
I am using 16 x 2 display and have to change 16 values in the code[bar garph]
Val = anolagRead(A0);
if (Val >= 0) { // I need to change [0] vial serial to a higher/lower number
lcd.setCursor(1,1);
lcd.print("I");
} else {
lcd.setCursor(1,1);
lcd.print("");
}
if(Val >= 2) { // I need to change [2] vial serial to a higher/lower number and so on
lcd.setCursor(2,1);
lcd.print("I");
} else {
lcd.setCursor(2,1);
lcd.print(" ");
}
if (Val >= 3.5) {
lcd.setCursor(3,1);
lcd.print("I");
} else {
lcd.setCursor(3,1);
lcd.print(" ");
}