02.07.2016, 11:47
Quote:
Hello!
You must press the key one times. After that you must press it again to close the gate. Don't hold the key. |
So the second problem has been fixed now i'm able to open/ close both doors,
however even though i press once space button, i still get like 10 messages that gates opens and closes you can see timestamp
Btw, i'm using these #defines, tried removing them, same thing happens
Код:
// PRESSED(keys) #define PRESSED(%0) \ (((newkeys & (%0)) == (%0)) && ((oldkeys & (%0)) != (%0))) // HOLDING(keys) #define HOLDING(%0) \ ((newkeys & (%0)) == (%0))