Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Void Setup() {
- pinMode(13, OUTPUT); //this determines which pin you connected to
- Serial.begin(9600); }
- void loop() (int sensorValue= analogRead(A0);
- Serial.println(sensorValue);
- if (sensor Value< 10)
- (digitalWrite (13,HIGH);
- delay(5000);
- digitalWrite(13,LOW);
- delay(5000);
- }
- }
Add Comment
Please, Sign In to add comment