TeamRobotmad / BadgeBot

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

Servo support #47

Closed Robotmad closed 2 months ago

Robotmad commented 3 months ago

signed duty cycle values to control two motors with just two values.

servo support: control to set servo centre pulse width (default 1500us) per channel (no specified channel sets them all) control to set servo pulse width (as a signed value about the centre) per channel first time you try to set a servo the frequency for that channel is automatically adjusted to 50Hz, but you can request other frequencies. parameter heavily checked to avoid crashes comprehensive set of set and get commands.

App updated to show movement steps in colour and to use "FWD"/"REV" instead up "UP"/"DOWN"