Search found 119 matches

by IHOXOHI
Sat May 02, 2020 4:03 pm
Forum: General Discussion and Questions
Topic: lcd160 best script for display photo
Replies: 5
Views: 2654

Re: lcd160 best script for display photo

Hi, If somebody need the touch-screen for display... import lcd160cr import os from time import sleep path = "/sd/photos" dirs = os.listdir(path) os.chdir("/sd/photos") global liste_photo liste_photo = [] for i in dirs: liste_photo.append(i) nombre_photos = len(liste_photo) buf = bytearray(30000) lc...
by IHOXOHI
Fri May 01, 2020 7:13 am
Forum: General Discussion and Questions
Topic: lcd160 best script for display photo
Replies: 5
Views: 2654

Re: lcd160 best script for display photo

Hi, Thanks for yours responses... Jimmo, in fact there is a little deformation of photos in portrait orientation which could be easy to corrige. For photos in landscape orientation, these have a little cut of border and no deformation. Finally I think, it's not too hard for corrige these problems, b...
by IHOXOHI
Wed Apr 29, 2020 9:37 pm
Forum: General Discussion and Questions
Topic: lcd160 best script for display photo
Replies: 5
Views: 2654

lcd160 best script for display photo

Hi, I have written scripts for rezise and display all photos of a folder on lcd160 with a pyboard. It produce a deformation of photos... I have start to write something without deformation but I prefer ask there before produce more efforts... if simply somebody has better... Thanks. The first one re...
by IHOXOHI
Tue Apr 28, 2020 2:53 pm
Forum: Drivers for External Components
Topic: lcd160cr on pyboard original no works#resolved#
Replies: 8
Views: 4868

Re: lcd160cr on pyboard original no works

Hi, I have found... It comes from my usage of an other serial port with an other esp on my raspberry... It seems that it create a conflict for the use of the display... I didn't known that we can't use 2 ports (ACM0 and ACM1) in the same time for displaying. For the rest it was working. If I stop da...
by IHOXOHI
Tue Apr 28, 2020 7:58 am
Forum: Drivers for External Components
Topic: lcd160cr on pyboard original no works#resolved#
Replies: 8
Views: 4868

Re: lcd160cr on pyboard original no works

Hi Peter, Ok. Thanks for your response. I have bought a pyboard-D with an other lcd160cr... So, I will wait to received it, and see if the problem comes from the pyboard or the LCD... For sure I will return one of them. I have bought the pyboard original and the lcd on Lextronic shop in France... th...
by IHOXOHI
Mon Apr 27, 2020 3:46 pm
Forum: Drivers for External Components
Topic: lcd160cr on pyboard original no works#resolved#
Replies: 8
Views: 4868

Re: lcd160cr on pyboard original no works

Hi Pyth,

Yes for sure!
"
If X means X:
X is connected.
"
When I use a command* for known if the i2c connection is true ; I have true.
...
*from a member of the community
Thanks for your participation,
Enjoy.
by IHOXOHI
Sun Apr 26, 2020 7:13 am
Forum: Drivers for External Components
Topic: lcd160cr on pyboard original no works#resolved#
Replies: 8
Views: 4868

Re: lcd160cr on pyboard original no works

Yo, I have update the firmware... But it no works yet. My commande: "Entering REPL. Use Control-X to exit. > MicroPython v1.12 on 2019-12-20; PYBv1.1 with STM32F405RG Type "help()" for more information. >>> >>> import lcd160cr >>> lcd = lcd160cr.LCD160CR('X') Traceback (most recent call last): File ...
by IHOXOHI
Sun Apr 26, 2020 6:31 am
Forum: Drivers for External Components
Topic: lcd160cr on pyboard original no works#resolved#
Replies: 8
Views: 4868

Re: lcd160cr on pyboard original no works

Hi Jimmo, Thanks for your help. The error is " OSERROR : [Errno 19] ENODEV YES! You have right. I have received others responses from the community and it's clear ; a problem of an update of the firmware... When I use ctrl+d in repl session, I have : " Entering REPL. Use Control-X to exit. > MicroPy...
by IHOXOHI
Sat Apr 25, 2020 9:41 am
Forum: Drivers for External Components
Topic: lcd160cr on pyboard original no works#resolved#
Replies: 8
Views: 4868

lcd160cr on pyboard original no works#resolved#

Hi, No display with my original pybaord and lcd160... My code: #### import lcd160cr lcd = lcd160cr.LCD160CR('X') #### The lcd is connected on 'X' ports. I will try the only one solution on the lcd160 of this forum with an other board, wich consist to defined the ports. So I have to check my numbers ...