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

update LED_BUILTIN for matrixportal_m4 #270

Merged
merged 1 commit into from
Oct 31, 2020

Conversation

mdonoughe
Copy link

I was having some problems with my Matrix Portal M4 project and I added some debug code to set the LED, but it didn't work. I loaded the Arduino example LED blink sketch, but that didn't work either.

It looks like originally the Matrix Portal M4 was not going to have an LED and then later one was added, but the value of LED_BUILTIN was not updated. According to variant.cpp it should be 13 (PORTA 14), but LED_BUILTIN was left using the old value 47 (used to be PORTA 15, disconnected on the schematic) which is now labeled as LIS IRQ (PORTA 27). With these changes, my LED is blinking.

Copy link
Member

@ladyada ladyada left a comment

Choose a reason for hiding this comment

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

doh thanks!

@ladyada ladyada merged commit 0b16016 into adafruit:master Oct 31, 2020
@mdonoughe mdonoughe deleted the matrixportal-led branch October 31, 2020 23:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants