-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Add INPUT_PULLDOWN to keywords.txt #3534
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
Comments
Hi @MarkusLange , indeed |
A custom library maybe? A quick search shows it might be part of a custom core for something like an MSP432 |
I also thought it was in a custom library, but if the code is declared inside a custom core you can't specify a custom keyboard.txt (issue #755). Leaving open for reference |
Hi Chris, hi facchinm, I found in ...\samd\cores\arduino\wiring_digital.c from the new ZERO Board, the ZERO has pull-up and pull-down resistors on the pins. |
Well, this is a bit awkward 😁 I didn't grep inside Zero core actually. |
Not for that. I tripped over it because of a similar issue (https://forum.pjrc.com/threads/29140-Bug-in-teensy-installer-for-arduino-1-6-5-r2) and my messing around on the Onewire lib to get the Zero on duty, works so far, (http://forum.arduino.cc/index.php?topic=331220.msg2297555#msg2297555) but I don't get the basic operations, direct register access working. |
I have long wanted this #755 feature for Teensy. Of course, not enough to dig into the IDE source to implement it.... Until recently, there's been relatively little activity in the global keywords.txt file, so I've just installed a patched copy. Obviously that's not so good. Ideally, the keywords.txt from core libraries could apply in addition to the global one, much like how the keyboard.txt from libraries do. All that's needed is more hours in the day for someone to actually implement this in the IDE..... |
INPUT_PULLDOWN LITERAL2 Constants RESERVED_WORD_2
is missing INPUT_PULLDOWN has no color
The text was updated successfully, but these errors were encountered: