Search found 165 matches

by bitninja
Wed Apr 15, 2020 7:41 pm
Forum: General Discussion and Questions
Topic: My IDE configuration using Notepad++, ampy and Tera Term
Replies: 22
Views: 14060

Re: My IDE configuration using Notepad++, ampy and Tera Term

Hi Paul, I just tested TeraTerm and found that the arguments need to be in the form of... <add key="TerminalAppArgs" value="/C=4"/> Let me know if you still do not get a file listing in the main app though... it usually means you have an incompatible version of AMPY installed. I am running version 1...
by bitninja
Fri Apr 10, 2020 12:33 am
Forum: General Discussion and Questions
Topic: ampy not working after main.py is uploaded
Replies: 4
Views: 3851

Re: ampy not working after main.py is uploaded

Obviously it is something in your main.py that is keeping the microcontroller busy.

Can you post your main.py?
by bitninja
Fri Apr 03, 2020 6:25 am
Forum: General Discussion and Questions
Topic: My IDE configuration using Notepad++, ampy and Tera Term
Replies: 22
Views: 14060

Alternative Updated

All of this discussion on IDEs has inspired me to work on some improvement for the tool I use.

https://github.com/joewez/AmpyFileManager

It's an editor wrapped around the ampy utility with a few extra features to make life easier. :D .
afm.png
afm.png (57.31 KiB) Viewed 5272 times
by bitninja
Wed Apr 01, 2020 4:43 pm
Forum: ESP8266 boards
Topic: D1mini Pro Firmware drives an AP in background
Replies: 6
Views: 3449

Re: D1mini Pro Firmware drives an AP in background

By default, when you load a new image onto an ESP8266, it is automatically configured to be an Access Point with an SSID like you note. After a fresh install and boot the device configures itself as a WiFi access point (AP) that you can connect to. The ESSID is of the form MicroPython-xxxxxx where t...
by bitninja
Fri Mar 06, 2020 4:39 pm
Forum: ESP32 boards
Topic: Display image on a html page from main.py
Replies: 10
Views: 7577

Re: Display image on a html page from main.py

All you seem to be doing is dumping your html to the standard output. That is not the same thing as serving a web page to a browser over the network.
by bitninja
Fri Mar 06, 2020 3:36 pm
Forum: ESP32 boards
Topic: Display image on a html page from main.py
Replies: 10
Views: 7577

Re: Display image on a html page from main.py

ChrisB wrote:
Fri Mar 06, 2020 10:53 am

I don't use a web server...
That's not going to work... you need an http server.
by bitninja
Mon Feb 10, 2020 3:28 am
Forum: ESP8266 boards
Topic: Web server with HTML and CSS
Replies: 2
Views: 4207

Re: Web server with HTML and CSS

I haven't had a chance to look at what's available recently... but I have been upgrading to uasyncio 2.0 and did have a script that may help... First you have to install some dependencies... when you get to a REPL prompt and the ESP8266 device is connected to the Internet... import upip upip.install...
by bitninja
Mon Feb 10, 2020 3:09 am
Forum: ESP8266 boards
Topic: led.off() turns it on and vise versa??
Replies: 4
Views: 3686

Re: led.off() turns it on and vise versa??

Yeah this caught my attention a while back... so I had to look it up... It's because they wire the LED so that the positive side is connected to power and the negative (drain) is connected to the output pin... so when it goes low (or to GROUND) the LED will light. It's because they can pass more cur...
by bitninja
Fri Dec 20, 2019 10:31 pm
Forum: General Discussion and Questions
Topic: get more free RAM...
Replies: 44
Views: 26853

Learn How To Freeze Your Modules

Hi, I just want to back the notion that freezing modules into the firmware is really a good idea. It's not that difficult and you gain so much. https://www.youtube.com/watch?v=jG7WBY_vmpE While it is really reserved for thoroughly debugged code, the edit-compile-upload cycle is not that convoluted o...
by bitninja
Thu Nov 28, 2019 9:38 am
Forum: ESP8266 boards
Topic: long running webserver not reachable
Replies: 7
Views: 3890

Related Question

Is the sleep_type() setting persistent like the connection and debug settings?

ie. You only need to execute the commands once and the ESP8266 remembers the value even after a reboot.