Using a different bootloader type, I got the firmware image loaded and it booted. But then got an error in Thonny IDE. But this is progress. MicroPython v1.19.1-229-g579f33050 on 2022-08-02; ESP module (512K) with ESP8266 Type "help()" for more information. ERROR thonny.plugins.micropython.backend:...
In this example I would define the traffic light always as a couple (tlc) because that is how traffic lights work. So one traffic light couple (tlc) is a light for the pedestrian and one for the traffic. Then it will always follow the same sequence which can be programmed in a simple while loop. No ...
I think this is how it's supposed to work. The ESP8266 stores its configuration in Flash. For example, in station mode on power up it remembers its WiFi credentials and automatically logs in. I don't believe you can make it "forget" other than by erasing flash. I guess AP mode works similarly. I'm ...
When I google for "micropython websocket client", the first hit gives a websocket client for micropython. (And it is a topic from this micropython forum, which you also could have searched for".
Nice work @bitninja To patch esp-open-sdk you can also apply a patchfile, which is more common. save the following code to a file named esp-open-sdk.patch diff -Naur esp-open-sdk/crosstool-NG/config/companion_libs/expat.in esp-open-sdk.patched/crosstool-NG/config/companion_libs/expat.in --- esp-open...
@pythoncoder, I'm also no expert on webprogramming. But if you look at the link of the arduino code (See TS) all steps are explained. If you convert all these steps to Python code you get something like this. (it just some "dirty" code, uses globals etc.) try: import asyncio except: import uasyncio ...
Unfortunately I haven't a clue how to push changes to the client. The "push changes to the client" is implemented in the html code that is served. It is some javascript that uses the function 'setInterval'. The javascript function 'setinterval' will then refresh the page automatically every second....
Pulled all the jumper wires, swapped them out for different ones. I've been disconnecting the slaves by pulling VCC from them, so the logic lines are still there. Currently it's the GY521 being detected, which is physically 2nd in the chain. Pull power from it & the BMP280 is detected; repower and ...