Advertisement
Guest User

Untitled

a guest
Nov 30th, 2015
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.17 KB | None | 0 0
  1. interrupt [EXT_INT2] void NameIsr(void)
  2. {
  3.     if (D){
  4.         PORTE=0x00;
  5.         D=0;
  6.     }
  7.     else{
  8.         PORTE |= ( (1<<4) | (1<<5) ) ;
  9.         D=1;
  10.     }
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement