GPIO enhancements needed
Closed this issue · 3 comments
DhruvaG2000 commented
- Add more
pinmodessupport here from zephyr GPIO API like the ones here - Add a threads example where 2 LEDs blink asynchronously. Refer - https://docs.zephyrproject.org/2.7.0/samples/basic/threads/README.html
- Add Documentation for above
adirsingh96 commented
DhruvaG2000 commented
do we have to define enum for different pinmodes as mentioned here
No, You are not atall supposed to modify any code in ArduinoCore-API.
What is required is that you implement each of
INPUT_PULLUP = 0x2,
INPUT_PULLDOWN = 0x3,
OUTPUT_OPENDRAIN = 0x4,
using an underlying zephyr code as documented here: GPIO input/output configuration flags
DhruvaG2000 commented