adafruit / Adafruit_Blinka

Add CircuitPython hardware API and libraries to MicroPython & CPython devices
https://learn.adafruit.com/circuitpython-on-raspberrypi-linux
MIT License
453 stars 340 forks source link

Fix Rock 4C Plus pin mapping and board file #658

Closed MathijsNL closed 1 year ago

MathijsNL commented 1 year ago

This will fix issue #656.

I tested all pins as input and output, they all work except for the not so well documented D26. The information on the wiki matches the actual layout. Radxa gpio

@RadxaYuntian do you know where we can find more info about pin# 26 (ADC IN)?

RadxaYuntian commented 1 year ago

Please check page 821 of RK3399 TRM about typical application of SARADC.

wgroeneveld commented 1 year ago

@MathijsNL Thanks for your work and investigations, I might have lost sight of a pin or two! Cheers!

makermelissa commented 1 year ago

Thank you to both of you @wgroeneveld and @MathijsNL for working on this.