Search found 11 matches

by dalex
Sun Jun 26, 2016 9:53 pm
Forum: Drivers for External Components
Topic: (WIP) Sitronix ST7735 TFT Display
Replies: 31
Views: 40853

Re: (WIP) Sitronix ST7735 TFT Display

Hi Deshipu, The link to the git repository is in the first post of this thread. The line numbers refer to lines in the tft.py file. The only changes I have made are in the main.py, to get it to run on my esp8266-12e, basically some pin changes and the way spi is invoked: ------------ from machine im...
by dalex
Sun Jun 26, 2016 4:15 pm
Forum: Drivers for External Components
Topic: (WIP) Sitronix ST7735 TFT Display
Replies: 31
Views: 40853

Re: (WIP) Sitronix ST7735 TFT Display

Ok, fixed the memory problem by actually precompiling the code (thanks Roberthh). Now I get an error, that I can't for the life of me work out. >>> tft = TFT_GREEN(128, 160, spi, dc, cs, rst) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/david/esp-open-sdk/microp...
by dalex
Sun Jun 26, 2016 8:44 am
Forum: Drivers for External Components
Topic: PCD8544 driver module (Nokia 5110 lcds)
Replies: 8
Views: 11628

Re: PCD8544 driver module (Nokia 5110 lcds)

I've been looking for the correct syntax on the ESP8266 to write this spi initialization, but no success.
How does one indicate the master status, endian and bits in this case?
I guess it can worked out with some pain by digging around in the code-base, but perhaps there is a place with use examples?
by dalex
Sun Jun 26, 2016 8:40 am
Forum: Drivers for External Components
Topic: (WIP) Sitronix ST7735 TFT Display
Replies: 31
Views: 40853

Re: (WIP) Sitronix ST7735 TFT Display

Thanks Roberthh,
I will try both of these suggestions.
by dalex
Sat Jun 25, 2016 6:14 pm
Forum: Drivers for External Components
Topic: (WIP) Sitronix ST7735 TFT Display
Replies: 31
Views: 40853

Re: (WIP) Sitronix ST7735 TFT Display

Hi Deshipu, I just found your st7735 driver by accident, while looking up your ili9341 driver (search on these boards finds no reference to it). I pre-compiled it, reflashed, and successfully imported it in upython on my esp, without any memory problems. Do you have a use example? SPI speed, options...
by dalex
Sat Jun 25, 2016 12:03 pm
Forum: Drivers for External Components
Topic: (WIP) Sitronix ST7735 TFT Display
Replies: 31
Views: 40853

Re: (WIP) Sitronix ST7735 TFT Display

Tried to get this driver working on my esp8266-12e. To solve memory problems during script compiling, I put the four .py files in the 'scripts' folder, so they are compiled at the time of the make. However, I still get the error message: >>> import run_TFT Traceback (most recent call last): File "<s...
by dalex
Fri Jun 24, 2016 8:03 pm
Forum: Drivers for External Components
Topic: PCD8544 driver module (Nokia 5110 lcds)
Replies: 8
Views: 11628

Re: PCD8544 driver module (Nokia 5110 lcds)

Anyone got this working? I'm trying on the ESP8266-12e. At this point in the code: spi.init(spi.MASTER, baudrate=328125, bits=8, polarity=0, phase=1, firstbit=spi.MSB) I get the message AttributeError: type object 'SPI' has no attribute 'MASTER' Similarly for 'MSB'. It also doesn't seem to recognize...
by dalex
Sat Aug 09, 2014 9:09 pm
Forum: General Discussion and Questions
Topic: repl without usb
Replies: 5
Views: 5842

Re: repl without usb

Turbinenreiter wrote:I'd love to see that!

I have some nRF24 modules here that I never got to work with Arduino.
See here:
http://forum.micropython.org/viewtopic.php?f=2&t=255

I've just coded a wireless serial link along these lines using the nRF24. I'll let you know how it goes after I get a chance to test it.
by dalex
Sat Aug 09, 2014 6:15 pm
Forum: General Discussion and Questions
Topic: taking the low road to implementing peripheral devices
Replies: 1
Views: 3274

taking the low road to implementing peripheral devices

I have some knowledge of Arduino and a bunch of peripherals for same. I notice that others are making good progress in implementing peripherals for pyb, but I'm rather impatient and not a good enough coder to port things over. So I'm using the following strategy: communicate with an Arduino via seri...
by dalex
Thu Aug 07, 2014 8:01 am
Forum: General Discussion and Questions
Topic: repl without usb
Replies: 5
Views: 5842

Re: repl without usb

Nice. Next step, REPL over radio.