Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void setup() {
- pinMode(A3, OUTPUT);
- pinMode(13, OUTPUT);
- Serial.begin(9600);
- }
- void loop() {
- Serial.println(analogRead(A3));
- delay(2);
- digitalWrite(A3, HIGH); // turn the LED on (HIGH is the voltage level)
- digitalWrite(13, HIGH);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement