I'm working on a simple ESP8266 project where I'll use Deep sleep to save power.
(12F dev board)
As I'm learning c++ on the fly, I need quite a bit of code uploads to get the code to work. 😉
On my breadboard, I now have to pull out the connection between GPIO16 and the RST pin for every code upload.
I do understand why this is, but is there a (hardware) way around that (during development)?
Thank you, Timo
Hi Timo, what is the purpose of the connection between RST and GPIO16?
Here is a good source of info for 8266 LINK
Arduino says and I agree, in general, the const keyword is preferred for defining constants and should be used instead of #define
"Never wrestle with a pig....the pig loves it and you end up covered in mud..." anon
My experience hours are >75,000 and I stopped counting in 2004.
Major Languages - 360 Macro Assembler, Intel Assembler, PLI/1, Pascal, C plus numerous job control and scripting
On my breadboard, I now have to pull out the connection between GPIO16 and the RST pin for every code upload.
I do understand why this is, but is there a (hardware) way around that (during development)?
How about putting in an NC (normally closed) button between the wire and GPIO16. Then, when you need to break the circuit just push the button.
Experience is what you get when you don't get what you want.
@will Yes, I think that's the easiest option.
The other option I thought of is to delay making gpio16 output for 1 second and use the reset button before upload, but I think your suggestion is better as I don't have to change the code for it, thank you. 🙂
@timo88 Here is an Espressif document I found that might be of interest to you.
Arduino says and I agree, in general, the const keyword is preferred for defining constants and should be used instead of #define
"Never wrestle with a pig....the pig loves it and you end up covered in mud..." anon
My experience hours are >75,000 and I stopped counting in 2004.
Major Languages - 360 Macro Assembler, Intel Assembler, PLI/1, Pascal, C plus numerous job control and scripting