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.
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:
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.