Search found 3529 matches

by WiFive
Fri Apr 06, 2018 7:51 am
Forum: ESP-IDF
Topic: How change PCNT threshold value?
Replies: 9
Views: 14573

Re: How change PCNT threshold value?

This works so the counter has to hit zero to reload the threshold value. int16_t th; pcnt_get_event_value(PCNT_TEST_UNIT, PCNT_EVT_THRES_1, &th); printf("THRES_1 val: %i\n", th); pcnt_set_event_value(PCNT_TEST_UNIT, PCNT_EVT_THRES_1, ++th); printf("Setting THRES_1 val to: %i\n", th); pcnt_get_event_...
by WiFive
Fri Apr 06, 2018 7:01 am
Forum: ESP-IDF
Topic: How change PCNT threshold value?
Replies: 9
Views: 14573

Re: How change PCNT threshold value?

It looks like the new value does not get latched into the comparator until the next threshhold event or zero event... or something Current counter value :1 Current counter value :2 Current counter value :3 Current counter value :4 Event PCNT unit[1]; cnt: 5 THRES1 EVT Current counter value :5 Curren...
by WiFive
Thu Apr 05, 2018 8:18 pm
Forum: ESP32 Arduino
Topic: Newbie in need of a little help (DS18B20)
Replies: 12
Views: 16314

Re: Newbie in need of a little help (DS18B20)

All sensors will start start to draw current at the same time from the ESP32 pin. 12 times 1.5 is 18mA which is way too much... 12mA is the maximum current you can pull from a single ESP32 pin, but I would like to stay significantly below that. You can have the sensors do their conversions one at a...
by WiFive
Thu Apr 05, 2018 12:13 am
Forum: General Discussion
Topic: Mongoose OS changed the license to Apache 2.0
Replies: 1
Views: 3560

Re: Mongoose OS changed the license to Apache 2.0

Cool. Is this right https://github.com/mongoose-os-libs/mon ... .gitignore ? Where is the binary?

Edit: I guess the binaries are fetched by mos from cesanta private server?
by WiFive
Wed Apr 04, 2018 11:47 pm
Forum: Report Bugs
Topic: Re-enable of interrupt is not working
Replies: 2
Views: 4817

Re: Re-enable of interrupt is not working

Are you enabling it from a task running on a different core?