-
Notifications
You must be signed in to change notification settings - Fork 43
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
Arduino INPUT_PULLUP on pin9 of genericSAMD11C14 #37
Comments
Cursed workaround:re-run Slight speed optimization over
This reads in the current PINCFG register for pin 9, sets the
This still isn't great though, because the pullup is still being turned off every time |
This is because pin 8 and pin 9 are designated as LEDs to be used for Serial or USB in the variant.h of Generic_D11C14A. If you edit variant.h and comment out the relevant line, you can use them as normal I/O. Specifically, it is around line 131 to 144. |
When using Arduino IDE, setting INPUT_PULLUP on pin 9 of the generic SAMD11C14A leaves pin 9 floating, but pulls up pin 8. Other pins seem to work as expected.
The text was updated successfully, but these errors were encountered: