Title: learning my programming language (Arduino)
As we know language program(Arduino) use to collect the data from the output. so on this week i try to learn my programming language this because i need to understand how my programming language get connected with my output so that i can display and control my output using my software. so this week im gonna learn the basic language for arduino.
Void setup()
{
// initialize serial communication at 9600 bits per second:
Serial.begin(9600);
}
// the loop routine runs over and over again forever:
void loop() {
// read the input on analog pin 0:
int sensorValue = analogRead(A0);
// print out the value you read:
Serial.println(sensorValue);
delay(1);
// initialize serial communication at 9600 bits per second:
Serial.begin(9600);
}
// the loop routine runs over and over again forever:
void loop() {
// read the input on analog pin 0:
int sensorValue = analogRead(A0);
// print out the value you read:
Serial.println(sensorValue);
delay(1);