2cb664eeec
adc fixes and improvements ( #6799 )
...
Fixed channel / unit selection for ESP32C3 (has only 5 channels on 1 adc unit).
Removed unnecessary includes.
Fixed different attenuation on channels to be taken in care in __analogReadMilliVolt.
All chips in __analogReadMilliVolts now use adc characteristics + calculation from raw to voltage as ESP32 does.
2022-05-27 12:17:51 +03:00
8ee5f0a11e
Esp32 s3 support ( #6341 )
...
Co-authored-by: Jason2866 <24528715+Jason2866@users.noreply.github.com >
Co-authored-by: Unexpected Maker <seon@unexpectedmaker.com >
Co-authored-by: Rodrigo Garcia <rodrigo.garcia@espressif.com >
Co-authored-by: Tomáš Pilný <34927466+PilnyTomas@users.noreply.github.com >
Co-authored-by: Pedro Minatel <pedro.minatel@espressif.com >
Co-authored-by: Ivan Grokhotkov <ivan@espressif.com >
Co-authored-by: Jan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com >
Co-authored-by: Limor "Ladyada" Fried <limor@ladyada.net >
2022-03-28 12:09:41 +03:00
01303b700d
ADC esp32s2 attenuation fix for DAC pins ( #6282 )
...
* ADC esp32s2 attenuation fix for DAC pins
* Use soc define instead config target
2022-02-16 15:45:06 +02:00
aabbed0bbc
analogRead() now return value according to value set in analogReadResulotion() ( #5776 )
...
Function analogReadResolution set how many bits will analogRead return.
Find out that this functionality was added back 2017 by @me-no-dev in #161 .
Related issues:
#5163
2021-10-24 13:01:05 +03:00
1688b7c179
Fix analogWidth for ESP32S2 in esp32-hal-adc.c ( #5711 )
2021-10-01 16:13:24 +03:00
5fd737925f
Fix wrong attenuation being set to pins ( #5522 )
...
Fixes: https://github.com/espressif/arduino-esp32/issues/5503
2021-08-11 13:05:26 +03:00
a9bd39de66
Fix pin attenuation being overwritten ( #5399 )
...
Fixes : #5041
2021-07-16 17:34:25 +03:00
cbcba53dff
Improve error message when ADC2 can not be used because WiFi is On
...
reference: https://github.com/espressif/arduino-esp32/issues/102
2021-07-08 13:58:17 +03:00
b5ee7ddeed
Convert hall read to use hal/idf ( #5268 )
...
Fixes #4866
2021-06-10 11:58:08 +03:00
404a31f445
Initial Esp32c3 Support ( #5060 )
2021-04-14 18:10:05 +03:00
5502879a5b
v2.0.0 Add support for ESP32S2 and update ESP-IDF to 4.4 ( #4996 )
...
This is very much still work in progress and much more will change before the final 2.0.0
Some APIs have changed. New libraries have been added. LittleFS included.
Co-authored-by: Seon Rozenblum <seonr@3sprockets.com >
Co-authored-by: Me No Dev <me-no-dev@users.noreply.github.com >
Co-authored-by: geeksville <kevinh@geeksville.com >
Co-authored-by: Mike Dunston <m_dunston@comcast.net >
Co-authored-by: Unexpected Maker <seon@unexpectedmaker.com >
Co-authored-by: Seon Rozenblum <seonr@3sprockets.com >
Co-authored-by: microDev <70126934+microDev1@users.noreply.github.com >
Co-authored-by: tobozo <tobozo@users.noreply.github.com >
Co-authored-by: bobobo1618 <bobobo1618@users.noreply.github.com >
Co-authored-by: lorol <lorolouis@gmail.com >
Co-authored-by: geeksville <kevinh@geeksville.com >
Co-authored-by: Limor "Ladyada" Fried <limor@ladyada.net >
Co-authored-by: Sweety <switi.mhaiske@espressif.com >
Co-authored-by: Loick MAHIEUX <loick111@gmail.com >
Co-authored-by: Larry Bernstone <lbernstone@gmail.com >
Co-authored-by: Valerii Koval <valeros@users.noreply.github.com >
Co-authored-by: 快乐的我531 <2302004040@qq.com >
Co-authored-by: chegewara <imperiaonline4@gmail.com >
Co-authored-by: Clemens Kirchgatterer <clemens@1541.org >
Co-authored-by: Aron Rubin <aronrubin@gmail.com >
Co-authored-by: Pete Lewis <601236+lewispg228@users.noreply.github.com >
2021-04-05 14:23:58 +03:00
8dc70e0add
Revert "Update licenses"
...
This reverts commit 4b3f5c8ed4
.
2021-03-11 12:11:53 +02:00
4b3f5c8ed4
Update licenses
2021-02-18 12:14:35 +02:00
d8b2098461
Use IDF's ADC Driver and Add analogReadMilliVolts ( #3377 )
2020-01-20 15:18:56 +02:00
eb46978a8d
Add Arduino SAM compatible analogReadResolution and Non-Blocking ADC api
...
connected to: https://github.com/espressif/arduino-esp32/issues/220 and
https://github.com/espressif/arduino-esp32/issues/161
2017-03-03 15:53:20 +02:00
e92634a92b
Add analogSetAttenuation and analogSetPinAttenuation
2016-12-14 02:29:54 +02:00
758553a786
Add analogRead, touchRead, dacWrite and updated esp-idf
2016-12-08 23:43:41 +02:00