Awesome!
Thank you both ESP_Sprite and MicroController.
That's answered my query nicely.
G.
Search found 5 matches
- Sat Jan 20, 2024 10:59 pm
- Forum: General Discussion
- Topic: Make global float atomic?
- Replies: 3
- Views: 1822
- Thu Jan 18, 2024 11:21 pm
- Forum: General Discussion
- Topic: Make global float atomic?
- Replies: 3
- Views: 1822
Make global float atomic?
Hi, Multitasking is new to me, as is the ESP32 and ESP IDF framework. I'm using a float variable, to share a value between tasks. Were it a 32-bit variable, I believe it's writes would be atomic. As a float value, however, I'm concerned that the reading task may acquiring the value, right in the mid...
- Tue Nov 14, 2023 12:09 pm
- Forum: Hardware
- Topic: Voltage Divider for Odd ADC?
- Replies: 3
- Views: 1596
Re: Voltage Divider for Odd ADC?
Maybe this will clear-up my earlier post:
- Tue Nov 14, 2023 11:47 am
- Forum: Hardware
- Topic: Voltage Divider for Odd ADC?
- Replies: 3
- Views: 1596
Re: Voltage Divider for Odd ADC?
Just trying to measure some simple voltages and currents. I believe that the C3 and S3 variants have an improved ADC. If you extrapolate their linear regions for conversion, they intersect the y-axis at the origin. For the same extrapolation, the ESP-WROOM-32 I'm using has a significantly non-zero y...
- Mon Nov 13, 2023 12:53 pm
- Forum: Hardware
- Topic: Voltage Divider for Odd ADC?
- Replies: 3
- Views: 1596
Voltage Divider for Odd ADC?
Just discovered that the ESP-WROOM-32 I'm toying with, has a rather odd ADC. With other controllers, a simple voltage divider has provided a suitable ADC input voltage for measurement of a full-range voltages. Now, it appears that I need to both divide a measured voltage, as well as translate it to ...