Subversion Repositories Projects

Rev

Rev 470 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 470 Rev 473
Line 147... Line 147...
147
       
147
       
148
}
148
}
149
 
149
 
150
ISR(INT1_vect)      
150
ISR(INT1_vect)      
151
{
151
{
-
 
152
  static int doubleclick = 0;
-
 
153
 
-
 
154
  if(doubleclick && !CheckDelay(doubleclick)) {
-
 
155
     nextMode();
-
 
156
  }
152
 
157
 
153
  nextMode();
158
  doubleclick = SetDelay(1000);
154
 
159
 
155
}
160
}
156
 
161
 
157
 
162
 
158
int main(void) {
163
int main(void) {