Guest User

Untitled

a guest
Jul 2nd, 2014
289
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. DDRD=0b11111100;
  2. PORTD=0b00000011;
  3.  
  4. if(PIND==0b00000001)
  5. {
  6. // this code runs
  7. }
  8. if(PIND==0b00000010)
  9. {
  10. //this code runs
  11. }
RAW Paste Data