Advertisement
Guest User

Untitled

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