Advertisement
dianartanto

bacapin2

Jun 22nd, 2015
1,524
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.12 KB | None | 0 0
  1. void setup() {
  2. pinMode(2,INPUT);
  3. Serial.begin(9600);
  4. }
  5.  
  6. void loop() {
  7. Serial.println(digitalRead(2));
  8. delay(100);
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement