TeamRobotmad / BadgeBot

Demonstration application for small robot based on EMFCamp 2024 badge with HexDrive Hexpansion and 2 motors.
3 stars 0 forks source link

Hexpansion EEPROM handling #13

Closed Robotmad closed 5 months ago

Robotmad commented 5 months ago

offers to initialise EEPROM as HexDrive of any hexpansion found or inserted with a blank EEPROM - can be declined by CANCEL. offers to program HexDrive app of any HexDrive hexpansion found or inserted with either no app or one that is not the same version as that contained within this app in hexdriver.py. Tidies up when HexDrives are removed. If there is at least one HexDrive present with the latest app, then the MENU is offered for the BadgeBot DEMO.

HexDrive app (on hexpansion EEPROM) initialises pins as output and forces power off and signals low.

WIP - still no actual control of PWM outputs.

DamTobor commented 5 months ago

append -> add pop(0) -> pop() list[0] -> next(iter(set))