nuttxs opened a new pull request, #12289:
URL: https://github.com/apache/nuttx/pull/12289
## Summary
Add ESP32-S3 ADC driver
## Impact
## Testing
- esp32s3-devkit:adc
- Configure the ADC channel through make menuconfig (Default enable
channel0~2)
```
nsh> ls /dev
/dev:
adc0
adc1
adc2
console
null
ttyS0
nsh> adc -p /dev/adc0 -n 5
adc_main: g_adcstate.count: 5
adc_main: Hardware initialized. Opening the ADC device: /dev/adc0
Sample:
1: channel: 0 value: 3099
Sample:
1: channel: 0 value: 3099
Sample:
1: channel: 0 value: 3099
Sample:
1: channel: 0 value: 3099
Sample:
1: channel: 0 value: 3099
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]