first motion table

This commit is contained in:
2024-03-14 17:25:45 +01:00
parent a7ea698f9b
commit f4b614bf0f
4 changed files with 117 additions and 266 deletions

View File

@ -15,10 +15,10 @@ uint16_t counter;
static uint8_t buttonsMoveLeftPressed() {
// -----------------------
// TEST CODE
if (counter == 25) {
ledGreenToggle();
return 1;
}
//if (counter == 25) {
// ledGreenToggle();
// return 1;
//}
// -----------------------
return 0;
}
@ -28,24 +28,17 @@ static uint8_t buttonsMoveRightPressed() {
}
static uint8_t buttonsRotateLeftPressed() {
// -----------------------
// TEST CODE
if (counter == 35) {
ledGreenToggle();
return 1;
}
// -----------------------
return 0;
}
static uint8_t buttonsRotateRightPressed() {
// -----------------------
// TEST CODE
if (counter == 40) {
ledGreenToggle();
return 1;
}
// -----------------------
// -----------------------
// TEST CODE
if (counter == 80) {
ledGreenToggle();
return 1;
}
// -----------------------
return 0;
}