Xinyuan-LilyGO / LilyGO-T-SIM7000G

LilyGO T-SIM7000G
https://pt.aliexpress.com/item/4000542688096.html
296 stars 129 forks source link

Difficulty in setting up GPIO #274

Open JAOmni opened 4 months ago

JAOmni commented 4 months ago

Hello, I am struggling with getting enough GPIO pins mapped to the various inputs/outputs I need for an application.

For example, I have tried to set GPIO 25/26 as inputs with pullups, however, it appears that these two pins are also overloaded as DAC inputs. That being said, I have also read that the DAC either needs to be enabled or it can be disabled, and I should be able to use these as GPIO.

Setting a GPIO with input pullup is working for pin 27 but replicating that for other pins has been problematic. I have a lot of experience on the Arduino platform and Arduino IDE and am trying to develop with this board with the ESP IDF so I recognize that some things are new, and it's possibly pilot error.

Thank you.