Max Prokhorov

Results 503 comments of Max Prokhorov

...there is also sigma delta generator https://github.com/esp8266/Arduino/blob/master/libraries/esp8266/examples/SigmaDeltaDemo/SigmaDeltaDemo.ino but, it is only a single pin and resolution is only 8bit (and it does not *seem* to be driven by sdk)

Could be the same approach as with colored lights? With the most basic brightness, we simply walk the existing channels and apply it as a 0...100% scaling https://github.com/xoseperez/espurna/blob/02581c6988f9d6b52a74c82fb2f6b3d5f895627c/code/espurna/light.cpp#L732-L736 https://github.com/xoseperez/espurna/blob/02581c6988f9d6b52a74c82fb2f6b3d5f895627c/code/espurna/light.cpp#L713-L730 You...

I'd think about the separation when we already have a clear api. It would also depend where are you getting the battery info; is it analog pin, is it some...

Have you tried skipping sonoff-minimal and just uploading full sonoff.bin? They serve the same purpose and will flash the same way, because both Tasmota and ESPurna minimal images use the...

I did just try to update SHP-2 v23 unit with 6.5.0 sonoff-basic.bin (2.4.2 Core) and current ESPurna 1.13.6-dev development version. - built espurna-core-1MB with wifi credentials using platformio and [email protected]...

Is this still an issue? afaik, we still know that sonoff-basic firmware will not properly handle settings. Is this still a problem with proper sonoff.bin? Or do we need to...

When you do open the device, can you download flash contents using esptool.py read_flash and attach them here? https://github.com/espressif/esptool#read-flash-contents-read_flash `$ esptool.py -p PORT read_flash 0 0x100000 flash_contents.bin` I am really...

I will try some time later today with 1MB board, but everything works as you described in previous examples: - D1 mini, `esptool` erases flash - upload espurna-1.14.1 build and...

register definitions end at GPIO15, it's out of bounds access error that was not checked by the code https://github.com/xoseperez/espurna/blob/9087fcf618538830dbf73e5cc6ea7c82db8a09c9/code/espurna/light.cpp#L2908-L2921 pwm on gpio16 is not supported by the built-in implementation though,...

for the specific board you can modify light.cpp, the gist of it is: - remove pwm_... init and start, leave just the pinMode(pin, OUTPUT) - replace pwm_set_duty bits in the...