- display_task_0
- send/read display queue
- batteryMeasureTask_0
- loop()
- read_trigger
- send_controller_packet_to_board
- send_config if not connected
- send packet otherwise
- packetReceived()
- send config if board_packet.id == 0
- disp_queue if moving or stopped (on change)
- BoardCommsTask
- Consumes:
- SendToBoardNotf
- sends packet to board
- SendToBoardNotf
- loops on own cadence (50ms?)
- on update: sends PacketState to queue
- Consumes:
- Display
- Provides:
- DisplayEvent (selecting certain properties)
- property id
- property value (integer?)
- DisplayEvent (selecting certain properties)
- Consumes:
- PacketState (for online/offline)
- PrimaryButtonState
- NintendoClassic
- ThrottleState
- Provides:
- NintendoClassicTask
- Provides:
- NintendoButtonEvent
- Consumes:
- SendToBoardNotf (response)
- PacketState (maybe enable/disable?)
- Special:
- turns on/off when start/stop
- Provides:
- QwiicButtonTask
- Provides:
- PrimaryButtonState
- Consumes:
- SendToBoardNotf (response)
- Provides:
- RemoteTask
- Provides:
- BatteryInfo (not very often, maybe when stopped?)
- Consumes:
- SendToBoardNotf
- PacketState (start/stop)
- Provides:
- StatsTask
- Provides:
- N/A
- Consumes:
- SendToBoardNotf
- PacketState (start/stop)
- Special:
- turns on/off when start/stop
- Provides: