Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void setup() {
- // put your setup code here, to run once:
- pinMode(12, OUTPUT);
- pinMode(11, INPUT);
- pinMode(10, OUTPUT);
- pinMode(15, INPUT);
- pinMode(8, OUTPUT);
- pinMode(21, INPUT);
- }
- void loop() {
- // put your main code here, to run repeatedly:
- if(digitalRead(11) == HIGH){
- digitalWrite(13,HIGH);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement