refactor(display): extract tile layout logic to library helper class
This commit is contained in:
@@ -24,11 +24,6 @@ void loop() {
|
||||
// Read touch
|
||||
TouchEvent evt = display.readTouch();
|
||||
|
||||
// Touch debug (useful for new boards)
|
||||
if(evt.pressed) {
|
||||
Serial.printf("[TOUCH] pressed: x=%d, y=%d\n", evt.x, evt.y);
|
||||
}
|
||||
|
||||
// State machine tick
|
||||
logic.update();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user