Search found 119 matches

by IHOXOHI
Tue Sep 15, 2020 8:10 pm
Forum: Drivers for External Components
Topic: Adafruit MicroPython TSL2561 Library
Replies: 4
Views: 4706

Re: Adafruit MicroPython TSL2561 Library

Yep, That's an interesting subject. For light and many others physics parameters, it seems that there is a big difference between senses and physics values for historical reasons. (It's why we use logarithmics scales in many times. Strangely not for the light). An eye is a very good thing because it...
by IHOXOHI
Fri Sep 11, 2020 7:55 pm
Forum: Drivers for External Components
Topic: BLE and raspberry
Replies: 2
Views: 2546

Re: BLE and raspberry

Hi jimmo, Thanks for your help. It doesn't matter for the rasp for moment, and I don't have smartphone. I tried BLE.temperature with 2 pyboard-d ; it's allright although I don't understand the values which are very low. But the uart_repl dosen't works for me... between 2 pyboard-d, one in peripheral...
by IHOXOHI
Fri Sep 11, 2020 7:45 pm
Forum: Drivers for External Components
Topic: IS31fl3731 Charlie-Plexed LED Matrix
Replies: 8
Views: 9735

Re: IS31fl3731 Charlie-Plexed LED Matrix

Yap, A script for display time on charlieWing matrix, from a newbie, so very heavy for nothing I think, ..., but it works. Enjoy! from machine import I2C import is31fl3731 as is31f import time i2c1 = I2C(scl='X9', sda='X10', freq=100000) display = is31f.CharlieWing(i2c1) #chiffre 0 sur la deuxieme p...
by IHOXOHI
Thu Sep 10, 2020 8:58 pm
Forum: Drivers for External Components
Topic: BLE and raspberry
Replies: 2
Views: 2546

BLE and raspberry

Hi, I tried to use the new function of bluetooth... After a litlle moment on the doc, fortunatly I have found examples of use by Damien. The example of BLE_peripheral works for me, but my rasp can't do anything more than connection...No? So, I tried the example of BLE_uart_repl, but my rasp respond ...
by IHOXOHI
Thu Sep 10, 2020 4:59 pm
Forum: Drivers for External Components
Topic: PMS5003 air quality sensor library
Replies: 33
Views: 26583

Re: PMS5003 air quality sensor library

That's allright!

No need to have a main with a lock function.

It left just to import it in 2 times.

Thanks a lot for everything.
All the best.
by IHOXOHI
Thu Sep 10, 2020 9:57 am
Forum: Drivers for External Components
Topic: PMS5003 air quality sensor library
Replies: 33
Views: 26583

Re: PMS5003 air quality sensor library

Yup, Nice! And now, I have seen that it's not necessary to change the flush command which is included in a def of the new lib. Otherwise, maybe it could be good to indicate that for a pyboard (or similar board like esp32, or pyb-d ) use, the lib must be in a pms folder with the init file, and the ca...
by IHOXOHI
Wed Sep 09, 2020 9:59 pm
Forum: Drivers for External Components
Topic: PMS5003 air quality sensor library
Replies: 33
Views: 26583

Re: PMS5003 air quality sensor library

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

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

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

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