d302091267
Changed pinMode() default interrupt type DISABLED to previously set ( #6695 )
...
* Changed in pinMode() default intr_type
pins default configuration has intr_type = GPIO_INTR_DISABLE
With this implementation, it will set the intr_type to previously set intr_type. It will no longer disable interrupt, when pinmode is called multiple times on same pin with interrupt enabled.
2022-05-09 23:14:59 +03:00
c7cc5c90eb
GPIO refactoring ( #6259 )
...
* GPIO refactoring
GPIO now using ESP-IDF API on all chips.
LEDC interrupt fix removed - no longer needed.
Edited pins_arduino.h in variants according to changes in gpio.
* Edited analog channels functions
2022-02-16 14:43:38 +02:00
7eec41dcb5
Fixes Touch Sensor for ESP32-S3 and any future SoC ( #6234 )
...
* Fixes digitalPinToTouchChannel() for ESP32-S3
2022-02-05 11:54:01 +02:00
8c88ecbf77
add GPIO defines for C3 ( #6005 )
2021-12-22 14:36:54 +02: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
3fc974f3aa
bugfix(touchpad):swap touch8 and touch9 #3584 ( #3620 )
2020-01-09 08:11:40 +02:00
879388e170
Update esp32-hal-gpio.c
...
fix copy/paste error
2018-12-28 19:14:15 +02:00
ea61563c69
Functional interrupt ( #1728 )
...
* Initial
* Implementation
* Add to CMakelist.txt
* Add example
* Add IRAM_ATTR
2018-09-17 23:13:58 +02:00
5be3078b76
InterruptArg should take voidFuncPtrArg as argument ( #1776 )
2018-09-17 23:10:13 +02:00
c77aed4ac4
Allow using argument with attachInterrupt ( #1535 )
...
* Allow using argument with attachInterrupt
* formatting
replace tabs with spaces
* fix bug more then 1 interrupt
* leftover
* add example
* make attachInterruptArg public
* update example
* leftover
2018-07-07 11:26:58 +02:00
80a7d6084b
fix enable ADC on pin37,38 ( #822 )
2017-11-10 13:27:00 +02:00
7991161f06
Change Pin Interrupt Allocator
2017-09-28 12:27:10 +08:00
917a4fd6f0
allow setting internal pull resistors for any mode and enable them for I2C
2016-12-14 13:11:10 +02:00
a6c02bc710
Add some missing defines
...
fixes: https://github.com/espressif/arduino-esp32/issues/76
fixes: https://github.com/espressif/arduino-esp32/issues/5
fixes: https://github.com/espressif/arduino-esp32/issues/91
2016-12-12 02:12:18 +02:00
f5d6828c5a
Adjust interrupt numbers for GPIO and Touch
2016-12-09 13:22:56 +02:00
758553a786
Add analogRead, touchRead, dacWrite and updated esp-idf
2016-12-08 23:43:41 +02:00
6db0ee1304
Optimize GPIO and account for micros overflow in delayMicroseconds
2016-12-02 13:03:51 +02:00
f4c2135a30
RTC pins have pull up/down elsewhere
...
use driver/gpio for now.
fixes: https://github.com/espressif/arduino-esp32/issues/66
2016-11-26 12:04:36 +02:00
50b060ab32
really fix attachInterrupt to work on either core
2016-10-11 12:29:06 +03:00
6125a40f93
fix GPIO attachInterrupt
2016-10-11 12:07:18 +03:00
5f3a205955
initial import
2016-10-06 07:09:44 -06:00