if(t1 && t2 >0) ){//.....}
ist ja nicht das was wir wollen! Wenn schon kürzen, dann richtig:
if( (t1 > 0) && (t1 == t2) ){//.....}
Wenn eine Taste gedrückt wurde und zweimal die selbe Taste erkannt wurde, dann...
Gruß
mic
Werbung
if(t1 && t2 >0) ){//.....}
ist ja nicht das was wir wollen! Wenn schon kürzen, dann richtig:
if( (t1 > 0) && (t1 == t2) ){//.....}
Wenn eine Taste gedrückt wurde und zweimal die selbe Taste erkannt wurde, dann...
Gruß
mic
![]()
Atmel’s products are not intended, authorized, or warranted for use
as components in applications intended to support or sustain life!
Lesezeichen