Search found 25 matches

by mbirth
Sun Jun 18, 2017 1:56 pm
Forum: WiPy and CC3200 boards
Topic: WiPy 1.0: Framebuf module? Yes/no? When?
Replies: 1
Views: 3249

WiPy 1.0: Framebuf module? Yes/no? When?

Is there any schedule for when the framebuf module will be available on the WiPy 1.0? Here's a post from 5 months ago where it was said to be coming "shortly". And here's a post from 3 months ago where there was a firmware containing framebuf promised for "this week". I just flashed the v1.9.1 (rele...
by mbirth
Sat Jun 25, 2016 9:31 pm
Forum: Drivers for External Components
Topic: PCD8544 driver module (Nokia 5110 lcds)
Replies: 8
Views: 11490

Re: PCD8544 driver module (Nokia 5110 lcds)

That's why the drivers shouldn't try to create their own spi objects, but instead take one as a parameter. Different platforms have different ways of initializing spi and different parameters allowed. Oh, it takes an SPI object as parameter. But for some reason, different platforms have completely ...
by mbirth
Sun Nov 15, 2015 2:15 pm
Forum: Drivers for External Components
Topic: PCD8544 driver module (Nokia 5110 lcds)
Replies: 8
Views: 11490

PCD8544 driver module (Nokia 5110 lcds)

In a thread in the Hardware Projects group there was a non-working module for PCD8544 lcd modules. The PCD8544 controller is used in e.g. Nokia 5110 LCDs. Since I also ordered these type of lcds for my WiPy, I wrote a module myself. Basic functionality works fine. I'll spice it up in the near future...
by mbirth
Fri Nov 06, 2015 12:45 am
Forum: Hardware Projects
Topic: Driver for LCD display Nokia 5110
Replies: 18
Views: 25068

Re: Driver for LCD display Nokia 5110

I just received those displays from China to play around with my WiPy. I hope I'll find some time on the weekend. What I noticed from reading the datasheet : The first bit is the MSB, not the LSB like in your code. Also, data is sampled on the positive edge of SCLK, so I believe phase needs to be 0 ...
by mbirth
Mon Nov 02, 2015 3:58 pm
Forum: WiPy and CC3200 boards
Topic: Unreliable Operation: FTP, Telnet, Power, ...
Replies: 27
Views: 22930

Re: Unreliable Operation: FTP, Telnet, Power, ...

While we're at it: Midnight Commander also shows a strange symptom with the WiPy. FTP basically works, but after I changed to the /flash directory and press Ctrl-R (Refresh) a couple of times, the WiPy will sometimes return the contents of /flash (correct) but sometimes it returns the contents of / ...
by mbirth
Thu Oct 29, 2015 3:50 pm
Forum: Programs, Libraries and Tools
Topic: urllib / urequests for Micropython
Replies: 31
Views: 44718

Re: urllib for Micropython

I also wanted to start a HTTP module (need GET and POST to communicate via Open Spherical Camera API) and just finished the URL parser which is somewhat oriented on the standard urllib.parse module. Maybe you can make use of it: https://github.com/mbirth/wipy-theta/bl ... er/http.py
by mbirth
Fri Oct 23, 2015 12:25 pm
Forum: WiPy and CC3200 boards
Topic: Change in wifi behavior after update to 1.1.0
Replies: 4
Views: 5056

Re: Change in wifi behavior after update to 1.1.0

Saran wrote:That's all nice, but how do you explain behavior in this post: http://forum.micropython.org/viewtopic.php?f=11&t=1056?
That had nothing to do with the mode as @danicampora explained there.
by mbirth
Fri Oct 23, 2015 8:53 am
Forum: Programs, Libraries and Tools
Topic: Simple terminal (VT100) editor widget (and other widgets)
Replies: 22
Views: 32653

Re: Simple terminal (VT100) editor widget

What are lazy imports? It's loading your libraries when they're needed instead of on top the .py file. So instead of: import os def whereami(): print(os.getcwd()) You'd do it like this: def whereami(): import os print(os.getcwd()) This way, os is first imported when it's needed instead of being imp...
by mbirth
Fri Oct 23, 2015 8:40 am
Forum: Programs, Libraries and Tools
Topic: Simple terminal (VT100) editor widget (and other widgets)
Replies: 22
Views: 32653

Re: Simple terminal (VT100) editor widget

on my WiPy but it seems to run out of memory even when freshly booted. Any ideas? For me it loaded fine after I rewrote my main.py to use lazy imports and did a gc.collect() before trying to import wipye. mem_free was around 52-53k. However, I was not able to do anything once it was loaded. It didn...