Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void setup() {
- pinMode(2,INPUT);
- Serial.begin(9600);
- }
- void loop() {
- Serial.println(digitalRead(2));
- delay(100);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement