Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create LED controller subsystem #26

Open
danverstom opened this issue Jan 23, 2023 · 0 comments
Open

Create LED controller subsystem #26

danverstom opened this issue Jan 23, 2023 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@danverstom
Copy link
Member

Create subsystem which controls operation of the status LEDs

Note that the same subsystem is to be reused on the ground station, which only has 2 status LEDs. Account for this in the design.

In order to allow other subsystems to update the state of the LEDs, a LEDControlMessage SystemMessage should be implemented. This message could contain (suggestion only):

  • The index of the LED to update
  • The new colour to set the LED to

The MRAS_System class should have a field added called "led_subsystem" or similar so it knows which subsystem to sent LEDControlMessage messages to. MRAS_System should have control of one of the LEDs to indicate the overall status of all subsystems.

Enjoy flashing the LEDs!

@danverstom danverstom added the help wanted Extra attention is needed label Jan 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant