Search found 116 matches

by bitninja
Mon Mar 12, 2018 4:40 pm
Forum: ESP8266 boards
Topic: Uploading MicroPython to Wemos D1 leads to garbage
Replies: 15
Views: 3348

Re: Uploading MicroPython to Wemos D1 leads to garbage

Yes, you should definitely try erasing the flash first. If that doesn't help there are a couple of caveats surrounding esptool.py, but I have not had any of these issues with any of my D1 Minis (or clones). Apparently some devices require you to specify the flash mode. See https://github.com/espress...
by bitninja
Mon Jan 15, 2018 7:31 pm
Forum: ESP8266 boards
Topic: recommended workflow for development and testing
Replies: 4
Views: 1181

Re: recommended workflow for development and testing

There are a lot of sound reasons to develop on the Unix version first, but I have a less rigorous approach, when it comes to the ESP8266. Since my main goal is just to have fun with my projects... I just work directly with the scripts on the device... coding and testing with a graphical application ...
by bitninja
Fri Jan 05, 2018 5:40 pm
Forum: General Discussion and Questions
Topic: Python Code Search Engine
Replies: 3
Views: 964

Re: Python Code Search Engine

Thanks!
Is there a good way to hunt for micropython code on Github? It seems like it would be a great place to find stuff.
by bitninja
Fri Dec 15, 2017 4:27 pm
Forum: Programs, Libraries and Tools
Topic: [ANN] Packaging and deployment docs
Replies: 5
Views: 1311

Re: [ANN] Packaging and deployment docs

Thank you for pulling all of the information together and writing it out for us!
by bitninja
Tue Dec 05, 2017 3:50 pm
Forum: Drivers for External Components
Topic: TM1640 8x8 LED Matrix
Replies: 3
Views: 1595

Re: TM1640 8x8 LED Matrix

Seems to work great!

https://youtu.be/N73H9irTKc8
by bitninja
Sun Dec 03, 2017 12:37 am
Forum: Programs, Libraries and Tools
Topic: Help Needed With utemplate
Replies: 6
Views: 1622

Re: Help Needed With utemplate

Hope that helps. Thanks! Yes, I had tested Pico-Notes before but missed the points about testing in the unix port first and then deploying to the board. It seemed rather natural to me to just have PicoWeb/uasyncio frozen and then have my app and pages on the flash file space. Everything works as I ...
by bitninja
Thu Nov 30, 2017 10:39 pm
Forum: Programs, Libraries and Tools
Topic: Help Needed With utemplate
Replies: 6
Views: 1622

Re: Help Needed With utemplate

Thanks for the recommendation. I will try using utemplate without freezing it into the firmware. The last time I tried this though I seemed to have an out-of-memory issues. I guess what bothers me now is that there are no clear steps for installing (into the ESP8266 firmware) PicoWeb and it's depend...
by bitninja
Thu Nov 30, 2017 10:32 pm
Forum: Programs, Libraries and Tools
Topic: utemplate - Lightweight template engine for MicroPython
Replies: 8
Views: 3969

Re: utemplate - Lightweight template engine for MicroPython

Can the utemplate scripts be frozen into the ESP8266 build? I have tried copying the compiled.py and source.py files into a sub-directory called utemplate in the \modules folder of the ESP8266 folder. But I am not sure that is the correct whey to install them. I am definitely having issues running t...
by bitninja
Thu Nov 30, 2017 2:58 am
Forum: Programs, Libraries and Tools
Topic: Help Needed With utemplate
Replies: 6
Views: 1622

Re: Help Needed With utemplate

It's the example_webapp.py and example_webapp2.py files from the PicoWeb repository...

Code: Select all

app = picoweb.WebApp(__name__, ROUTES)
app.run(debug=True)
and

Code: Select all

app = picoweb.WebApp(__name__)
by bitninja
Tue Nov 28, 2017 1:38 am
Forum: Programs, Libraries and Tools
Topic: Help Needed With utemplate
Replies: 6
Views: 1622

Help Needed With utemplate

I wanted to try using the utemplate library with PicoWeb, but am having some type of issue running the example apps when they render the 'squares.tpl' file. 32.000 <HTTPRequest object at 3fff3e30> <StreamWriter <socket state=2 timeout=0 incoming=0 off=0>> AttributeError("'module' object has no attri...