Search found 112 matches

by IHOXOHI
Sat May 09, 2020 6:58 am
Forum: Drivers for External Components
Topic: i2c pyb or machine for sgp30 adafruit sensor?
Replies: 9
Views: 2401

i2c pyb or machine for sgp30 adafruit sensor?

Hi, I have tried to use the sgp30 sensor from adafruit... with a pyboard. So, I have download the sgp30 lib from github, which indicate a procedure of installation with a i2c.MASTER command, and after, when the sensor is initiated, have to accept a "writeto" command. I have use the i2c's machine ins...
by IHOXOHI
Thu May 07, 2020 4:29 pm
Forum: Pyboard D-series
Topic: strange datalogging
Replies: 3
Views: 1338

strange datalogging

Hi, I have tried to save data from the original tile sensor... And discover in same time the behaviour of pyboard d (I have used pyboard classic yet)... Maybe I don't understand something, but the exemple of upython site doesn't works for me. I don't know why, but it appears that there is a confusio...
by IHOXOHI
Thu May 07, 2020 11:06 am
Forum: Pyboard D-series
Topic: SD card not working in D-series
Replies: 11
Views: 4580

Re: SD card not working in D-series

Hi Jonnhy, How do you check your sdCard? For "seeing" it, the way is different from with classic pyboard... With my poor knowledge, I know 2 ways : - with a repl session - with a boot.py wich contain command for usb mod AND command to mount sd card. If you need more info about commands under repl se...
by IHOXOHI
Sat May 02, 2020 4:03 pm
Forum: General Discussion and Questions
Topic: lcd160 best script for display photo
Replies: 5
Views: 952

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: 952

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: 952

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: 1741

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: 1741

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: 1741

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: 1741

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 ...