Search found 46 matches

by papaluna
Mon Apr 16, 2018 9:07 am
Forum: General Discussion
Topic: Getting Local Time without gmt Offset after Deep Sleep
Replies: 3
Views: 1696

Re: Getting Local Time without gmt Offset after Deep Sleep

In ESP-IDF you would do this: void mjd_set_timezone_utc() { ESP_LOGD(TAG, "%s()", __FUNCTION__); // @special "" means timezone UTC (Specifying "UTC" does not work!) setenv("TZ", "", 1); tzset(); } void mjd_set_timezone_amsterdam() { ESP_LOGD(TAG, "%s()", __FUNCTION__); // @doc https://remotemonitori...
by papaluna
Fri Feb 16, 2018 10:04 am
Forum: General Discussion
Topic: MSYS2 is slow on Windows 10
Replies: 30
Views: 7901

Re: MSYS2 is slow on Windows 10

Thanks for the tip ESP_Angus to exclude MSYS2 and the project folders in Windows Defender. The time to run a make under Windows is now comparable to the time to run a make in a VM running on the same Windows box.
by papaluna
Thu Feb 01, 2018 9:19 am
Forum: General Discussion
Topic: Output pin interrupt type GPIO_INTR_POSEDGE behaves like GPIO_INTR_ANYEDGE
Replies: 5
Views: 1423

Re: Output pin interrupt type GPIO_INTR_POSEDGE behaves like GPIO_INTR_ANYEDGE

Your test example works fine on my board.

Maybe I have to wire in stronger pullup resistor (they are still on order).
by papaluna
Thu Feb 01, 2018 8:59 am
Forum: General Discussion
Topic: Output pin interrupt type GPIO_INTR_POSEDGE behaves like GPIO_INTR_ANYEDGE
Replies: 5
Views: 1423

Re: Output pin interrupt type GPIO_INTR_POSEDGE behaves like GPIO_INTR_ANYEDGE

Thanks for the test. 1. I have tried with various other pins but no luck. 2. I have a few other boards on order and I will retest with those. 3. Do you know if the default sdkconfig must be changed for the dev board Adafruit Huzzah32 ESP32 (on top of the Serial flasher config)? https://learn.adafrui...
by papaluna
Wed Jan 31, 2018 10:33 am
Forum: General Discussion
Topic: Output pin interrupt type GPIO_INTR_POSEDGE behaves like GPIO_INTR_ANYEDGE
Replies: 5
Views: 1423

Re: Output pin interrupt type GPIO_INTR_POSEDGE behaves like GPIO_INTR_ANYEDGE

Are you sure you don't just see the effect of contact bounce on the mechanical bits of your sensors? I'm not sure but I don't think that is happening. 1. I have created a feedback loop in the GPIO MUX from the input sensor to the output LED (on the board) and the LED follows cleanly the changes to ...
by papaluna
Tue Jan 30, 2018 2:54 pm
Forum: General Discussion
Topic: Output pin interrupt type GPIO_INTR_POSEDGE behaves like GPIO_INTR_ANYEDGE
Replies: 5
Views: 1423

Output pin interrupt type GPIO_INTR_POSEDGE behaves like GPIO_INTR_ANYEDGE

Hi, Environment: the latest ESP-IDF from Github and the board Adafruit HUZZAH32 (rev1) and a sensor such as the KY-032 Obstacle avoidance sensor, the SW-180 Tilt Sensor, SW-420 Vibration Sensor which all output a digital signal 0 or 1. I have configured the output pin interrupt type as GPIO_INTR_POS...