Search found 2 matches
- Wed Jun 22, 2022 7:56 am
- Forum: ESP32 Arduino
- Topic: why the range of the output is from 0 - 4088 for analogSetWidth(9)?
- Replies: 2
- Views: 1979
Re: why the range of the output is from 0 - 4088 for analogSetWidth(9)?
many thanks! I tried, just like what you said. it seems that you are right. in fact, this CMD just misfunctions, which means that the range is incorrect, but it does change the sampling pattern. for example, one bit of every 8 bits is sampled, for the parameter (9). And, the sample will change corre...
- Wed Jun 22, 2022 5:13 am
- Forum: ESP32 Arduino
- Topic: why the range of the output is from 0 - 4088 for analogSetWidth(9)?
- Replies: 2
- Views: 1979
why the range of the output is from 0 - 4088 for analogSetWidth(9)?
in the official docs, it shows: analogSetWidth¶ This function is used to set the hardware sample bits and read resolution. Default is 12bit (0 - 4095). Range is 9 - 12. anyhow, it seems to me that the range of the output doesn't change, no matter what the parameter is, 9,10,11,12. why? anything wron...