Search found 8 matches
- Fri Nov 20, 2020 10:50 am
- Forum: Programs, Libraries and Tools
- Topic: Is there a easy Websocket library out there .
- Replies: 0
- Views: 1162
Is there a easy Websocket library out there .
Hi , is there a easy Web socket library for a newbie to python to work with ? I've been trying to work with MicroWebSrv2 library, to send data to the wed page using their example , But after over 1000 views no one knows how to do what should be a simple thing . Is there any libraries or examples how...
- Thu Nov 19, 2020 8:09 pm
- Forum: Programs, Libraries and Tools
- Topic: lost with MicroWebSrv2 and web sockets
- Replies: 0
- Views: 2277
lost with MicroWebSrv2 and web sockets
Using the example how to use web sockets and understand it , BUT how do I get send a message out of the OnWebSocket_xx's How do I get access to the WebSockets instance to send a message ? Because I will get a WebSocket is not defined . # web server stuff def OnWebSocketAccepted(microWebSrv2, webSock...
- Sun Nov 08, 2020 10:28 am
- Forum: ESP32 boards
- Topic: SD card problems .. I think the umount doesn't work.
- Replies: 1
- Views: 1385
Re: SD card problems ..
I think the umount doesn't work.
looking at this video https://www.youtube.com/watch?v=s8agR-Uhn3Q
So I've solved it by just trying it out .
looking at this video https://www.youtube.com/watch?v=s8agR-Uhn3Q
So I've solved it by just trying it out .
- Sat Nov 07, 2020 11:48 am
- Forum: ESP32 boards
- Topic: SD card problems .. I think the umount doesn't work.
- Replies: 1
- Views: 1385
SD card problems .. I think the umount doesn't work.
Hi , I've had problems trying to mount the SD card , But found what my problem was and why I was getting my error. The first time I mount the SD it works , but if I try running a second time without a Ctrl D and full power down I get this error. >>> %Run -c $EDITOR_CONTENT ['System Volume Informatio...
- Sun Nov 01, 2020 11:00 am
- Forum: ESP32 boards
- Topic: Avoid writing to the flash for the simplest corrections?
- Replies: 5
- Views: 2517
Re: Avoid writing to the flash for the simplest corrections?
You will find that flash writing isn't that much of a problem ? WHY ? Because in the end your shiny new board will be get replaced by the next new shiny board the esp64 and finish it's life in a box somewhere or as a dedicated project, nowhere near to the amount of writes to the flash. I have a Ardu...
- Sat Oct 31, 2020 5:12 pm
- Forum: Programs, Libraries and Tools
- Topic: What does the @ symbol mean ?
- Replies: 2
- Views: 1698
Re: What does the @ symbol mean ?
These are called decorators and part of regular python. https://realpython.com/primer-on-python-decorators/#simple-decorators In your particular example. it causes the html function to be called when /temp is requested (the exact details will depend on the particular framework you're using). Thank ...
- Sat Oct 31, 2020 11:37 am
- Forum: ESP32 boards
- Topic: (ADC) Unclear: Attenuation changes the physical or the digital range of the ADC?
- Replies: 5
- Views: 3094
Re: (ADC) Unclear: Attenuation changes the physical or the digital range of the ADC?
I repeat here only for makeing sure I understood correctly -- I don't to fry my ESP32... :) The value of the attenuator limits the maximal allowed voltage at the ADC pin. Is it correct, I've done the same idea to test my battery voltage , but with 2 * 50k resistors instead . What happen if you set ...
- Sat Oct 31, 2020 9:57 am
- Forum: Programs, Libraries and Tools
- Topic: What does the @ symbol mean ?
- Replies: 2
- Views: 1698
What does the @ symbol mean ?
I new to the world of python programming and trying to set up a web server and going to use the picweb library for this task. How I learn is take the program apart line by line and understand what each line does , change things and see what happens. In this bit of code :- @app.route("/temp") def htm...