[SOLVED] Does Duo have an analog read function from the GPIO?

Hey guys,

After some hours, i find an Sophgo/CVITEK Peripheral Driver Operation Guide that introduces the SARADC module. PeripheralDriverOperationGuide_en.pdf (sophgo.com)

After that, i made a C file an sh script to enable and read analog inputs on GPIO. They are avaliable on my Github repository: duo-examples/adc at main · pauloantuns

image

2 Likes