Search found 112 matches

by IHOXOHI
Wed Sep 09, 2020 9:55 pm
Forum: Pyboard D-series
Topic: strange datalogging
Replies: 3
Views: 1338

Re: strange datalogging

Yop,

I have found, alone.
It was too easy, I think.

So, at each loop open the file with 'a' option, write, and close it.

It doesn't preserve sd card but datas are continiously saved.

Finally, I prefer a little bit of stress and preserve my sd card.
by IHOXOHI
Wed Sep 09, 2020 8:43 pm
Forum: Drivers for External Components
Topic: PMS5003 air quality sensor library
Replies: 33
Views: 10578

Re: PMS5003 air quality sensor library

Yip,

The old version of PMS Kevin's library works yet with uasyncio3.
by IHOXOHI
Wed Sep 09, 2020 6:22 pm
Forum: Drivers for External Components
Topic: PMS5003 air quality sensor library
Replies: 33
Views: 10578

Re: PMS5003 air quality sensor library

Yep,

I tried with the new firmware 1.13 which contain uasyncio3...

My return:
"File "uasyncio/__init__.py", line 1, in __getattr__
AttributeError: Stream"

I will try other "things"... and post results
by IHOXOHI
Tue Sep 08, 2020 10:15 am
Forum: Drivers for External Components
Topic: Adafruit MicroPython TSL2561 Library
Replies: 4
Views: 1269

Re: Adafruit MicroPython TSL2561 Library

Hi mnvk52, I'm not an expert but I think that 3.4 and 2.99 are closes values, especially for lux values wich could be upper than 40000 lux with a tsl2561, and maybe this difference is true because light is changing every time. Otherwise, gain is used for have betters values for DIFFERENTS situations...
by IHOXOHI
Tue Sep 08, 2020 9:15 am
Forum: Drivers for External Components
Topic: IS31fl3731 Charlie-Plexed LED Matrix
Replies: 8
Views: 3674

Re: IS31fl3731 Charlie-Plexed LED Matrix

Hi, I would like to use the matrix for display time. Logically, on the 15x7 charlieWing matrice, there is a way for display 4 numbers of 3 pixels in width direction and 3 spaces between numbers. Currently size of number is too big for doing that. So, I need to change the "font" using by frambuffer. ...
by IHOXOHI
Tue Sep 01, 2020 8:01 am
Forum: General Discussion and Questions
Topic: opening existing file on /flash for appending
Replies: 5
Views: 904

Re: opening existing file on /flash for appending

Hi Smhodge, Maybe I'm wrong but the usual procedure for save data contain 3 importants parts: -You have the first one with "file = open(file-path, 'a+b')", one time. -But after you have to use "file.write(data)" each time that you write data. -and finally for save data, "file.close()", one time. So,...
by IHOXOHI
Mon Aug 31, 2020 1:31 pm
Forum: General Discussion and Questions
Topic: archlinux distribution and micropython?
Replies: 3
Views: 544

Re: archlinux distribution and micropython?

Thanks Roberthh, Finally, on a fresh live-iso of parabola on a usb-stick, there isn't problem. So, the problem is only persistent on my old ditribution of parabola. On this usual installation, there isn't any new device which appear when I plug a pyboard... This is strange. An usual usb stick appear...
by IHOXOHI
Mon Aug 31, 2020 10:26 am
Forum: Hardware Projects
Topic: Larger fonts on SSD1306 OLED displays
Replies: 22
Views: 23475

Re: Larger fonts on SSD1306 OLED displays

PERFECT.

So good.

All my respect.
All the best.
by IHOXOHI
Mon Aug 31, 2020 9:57 am
Forum: General Discussion and Questions
Topic: archlinux distribution and micropython?
Replies: 3
Views: 544

archlinux distribution and micropython?

Hi, I tried to use micropython with parabola linux distribution which is very closed from archlinux... Pyboard (d or not) aren't recognized by this distribution... So, I haven't /dev/ttyACM0, and I can't use micropython on archlinux... Is there an other way to use micropython on a linux distribution...
by IHOXOHI
Sun Aug 30, 2020 2:54 pm
Forum: Hardware Projects
Topic: Larger fonts on SSD1306 OLED displays
Replies: 22
Views: 23475

Re: Larger fonts on SSD1306 OLED displays

Hi, Nice! It works fine. Very usefull! Just, I tried to use font_to_font.py to make my font for have a bigger font than the courrier20 which is in the repo... The return of the command "./font_to_font.py courrier.ttf 30 my_font.py" looks good. But when I tried to use this my_font.py, I have the retu...