Hi all,
does no one has an idea, whether GPIO 39 can be used for ADC (VCC measurement)? How is wiring supposed to be done?
Many thanks.
Search found 2 matches
- Sun Oct 08, 2017 1:42 pm
- Forum: General Discussion
- Topic: VCC measurement with ADC via GPIO39
- Replies: 4
- Views: 15165
- Wed Oct 04, 2017 3:05 pm
- Forum: General Discussion
- Topic: VCC measurement with ADC via GPIO39
- Replies: 4
- Views: 15165
VCC measurement with ADC via GPIO39
Hallo all, I have a small problem. I connected VCC with GPIO 39 to check the VCC of the battery. However I always get 4095 as result, independent of the VCC of the battery. I use following code: adc1_config_width(ADC_WIDTH_12Bit); adc1_config_channel_atten(ADC1_CHANNEL_3,ADC_ATTEN_11db); int val = a...