Search found 4 matches

by marius
Wed Jan 13, 2021 9:48 am
Forum: General Discussion
Topic: Adding new GPIO20 define for Arduino framework
Replies: 4
Views: 3728

Re: Adding new GPIO20 define for Arduino framework

Okay, thanks for the info.
by marius
Wed Jan 13, 2021 6:33 am
Forum: General Discussion
Topic: Adding new GPIO20 define for Arduino framework
Replies: 4
Views: 3728

Re: Adding new GPIO20 define for Arduino framework

Defining it that way does allow the code to compile fine but as expected I don't get correct functionality, not even a simple blinky with digitalWrite() function. I have also tried experimenting with modifying ..\tools\sdk\include\driver\driver\gpio.h specifically: line 59 adding " #define GPIO_SEL_...
by marius
Tue Jan 12, 2021 12:11 pm
Forum: General Discussion
Topic: Adding new GPIO20 define for Arduino framework
Replies: 4
Views: 3728

Adding new GPIO20 define for Arduino framework

I'm testing the new ESP32-Pico-Mini-02 module which features GPIO20 that was previously unavailable. The current version of the Arduino framework doesn't contain definitions for GPIO20 and I'm getting errors like: "GPIO_NUM_20" is undefined Is there an easy way I could define GPIO20 in my current pr...
by marius
Sun Jul 08, 2018 8:13 am
Forum: General Discussion
Topic: CPU start blocked by deep_sleep?
Replies: 1
Views: 2546

CPU start blocked by deep_sleep?

I'm trying to write a simple program to print some uart messages and then have the esp32 (ESP32WROOM) go into sleep until a GPIO turns low. Here is my code: #include <stdio.h> #include <string.h> #include <stdlib.h> #include "esp_sleep.h" #include "driver/rtc_io.h" #define LED_GPIO 5 #define SENSOR_...