Skip to content
This repository has been archived by the owner on Jan 3, 2020. It is now read-only.

PI2 Onboard LED Support. #10

Merged
merged 2 commits into from
Oct 15, 2015
Merged

PI2 Onboard LED Support. #10

merged 2 commits into from
Oct 15, 2015

Conversation

JustAddWires
Copy link
Contributor

Onboard LED is accessed as "GPIO_47"

Onboard LED is accessed as "GPIO_47"
@@ -14,6 +14,10 @@
#include "CY8C9540ASupport.h"
#include "ExpanderDefs.h"

// Temporary, special definition to enable the PI2 Onboard LED.
// This will be removed once it is in PinNumbers.h.
#define GPIO_47 41 // PI2 onboard LED uses virtual "pin 41"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

define LED_BUILTIN as in Arduino as well?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea, thanks.

turkycat added a commit that referenced this pull request Oct 15, 2015
@turkycat turkycat merged commit 864eae0 into ms-iot:develop Oct 15, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants