Skip to content

Multiple AppLeds / Buttons #21

@gcohler

Description

@gcohler

The system should accept for multiple AppLEDs and multiple Buttons.

This would allow for supporting all the LEDs / Buttons on a given piece of hardware. Plus it would separate App usage from System usage (if so desired).

Thus an app developer could do something like this:

Given a board with:

  • Red LED on pin 6
  • Green LED on pin 7
  • Blue LED on pin 8
  • Button on pin 9
  • Button on pin 10

BOARDX:
SysLed: 6
AppLed: 6 // could overload or not with SysLED -- app developer's choice.
AppLed1: 7
AppLed2: 8
Button: 9
Button1: 10

This would allow a setup where only the system references SysLed, and the user application only references AppLed.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions