A-Emile / Lime_Gen3_IoT_Replacement

Custom IoT for Lime Gen 3 E-Scooter and info about serial communication
Apache License 2.0
40 stars 10 forks source link

controller.ino rewritten to work with 20 km/h firmware #14

Open aIecxs opened 10 months ago

aIecxs commented 10 months ago

fixed issue with 20 km/h firmware which is sending more noise than the 25 km/h firmware. the code now scans for start code 0x46. message is interpreted as explained in #6 and only processed if the pattern matches 4 byte header + zero byte + frame length. the 4 byte header is used as identifier for the switch case.