12 lines
187 B
Arduino
12 lines
187 B
Arduino
|
void setup() {
|
||
|
Serial.begin(9600);
|
||
|
}
|
||
|
|
||
|
void loop() {
|
||
|
Serial.print("S0: ");
|
||
|
Serial.print( analogRead(A0));
|
||
|
Serial.print(" S1: ");
|
||
|
Serial.println(analogRead(A1));
|
||
|
delay(500);
|
||
|
}
|