kmihaylov

Results 37 comments of kmihaylov

I can't provide you with any materials yet since my work is in beta stage, however my current projects that rely on Sming (and I find it the "killer app"...

Hello. I observe unexpected behavior when trying to use ```Serial.onTransmitComplete()``` callback. In the ModbusMaster example I removed ```postTransmission()``` and in the ```init()``` function I set a callback: ```modbusComPort.onTransmitComplete([](HardwareSerial &) {digitalWrite(RS485_RE_PIN,...

@kpishere Unfortunately I don't understand how your program verifies completion of TX (TX transmit empty). I'm attaching some scope shots of the problem. ![SHS00002](https://user-images.githubusercontent.com/8851104/79109067-4c714900-7d80-11ea-92c7-9f5ca38a480c.jpg) ![SHS00001](https://user-images.githubusercontent.com/8851104/79109066-4b401c00-7d80-11ea-94fe-c46c50a2e06c.jpg) I tried both with ```...

@kpishere ah I see, good to know! Thanks! @mikee47 My test right now shows that ```onTransmitComplete``` got triggered on each ```Serial.write()```. This solution ``` someFunc() { Serial.write(NUL); Serial.write(data); } ```...

I did as you suggested: https://github.com/kmihaylov/Sming/blob/fix/spiffs_mount_prevent_format/Sming/Services/SpifFS/spiffs_sming.c Now it successfully mounts the fs every time (even if I flashed the device with DISABLE_SPIFFS = 1). The files are written to the...

It mounts the FS despite it was prefilled with random data. ``` /opt/esp-open-sdk/esptool/esptool.py -p /dev/ttyUSB0 -b 115200 write_flash -ff 40m -fm qio -fs 32m \ 0x00000 out/firmware/rboot.bin \ 0x02000 out/firmware/rom0.bin...

@mikee47 respect for your guidance. It's very helpful. I put ```#define SPIFFS_USE_MAGIC (1)``` and ```#define SPIFFS_USE_MAGIC_LENGTH 1``` And now after ```make flashinit``` it works almost as expected: 1. FS not...

@Asanga-Viraj do you have some progress on System.restart() ? On my ESP8266 board I have to disconnect from the wifi network before calling System.restart() in order not to trigger (some)...

@mikee47 thanks. Do I understand properly that ```String(kPowerStr)``` will copy the flash string to RAM? The library heavily uses *Str like the above mentioned ```kPowerStr```. I have no problem to...

IR receive works just fine. I can solder second board to check IR send.