Remove turn signal & sonar, add RFID auth

Define AUTH_UID and AUTH_UID_SIZE constants.
Introduce motor control pins IN_1‑IN_4 and set them as outputs.
Comment out turn‑signal and sonar pin definitions and related code.
Refactor Display to remove updateDirection functionality.
Extend RFIDReader with reset() and matches() methods; use them to toggle
carEnabled based on RFID authentication.
Update the main loop to operate only when the RFID tag matches the
authorized UID.
This commit is contained in:
2026-06-16 21:56:31 +02:00
parent febf1215db
commit 899212d7b9
6 changed files with 91 additions and 54 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ public:
void updateGear(char gearChar);
void updateDirection(bool leftOn, bool rightOn);
// void updateDirection(bool leftOn, bool rightOn);
private:
rgb_lcd _lcd;