Instantly share code, notes, and snippets.

Embed
What would you like to do?
void setup() {
//nastavy serialovy monitor na 9600 baud/s
Serial.begin(9600);
}
void loop() {
//vypiseme hodnotu z analogoveho prevodnika A0
Serial.print(analogRead(A0));
//vypiseme mezderu
Serial.print(" ");
//vypiseme hodnotu z analogoveho prevodnika A0 na novy riadok
Serial.println(analogRead(A1));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment