Search found 49 matches

by MCHobby
Sat Jun 27, 2020 1:27 pm
Forum: Drivers for External Components
Topic: Standard API for drivers?
Replies: 37
Views: 17402

Re: Standard API for drivers?

Hi, I would like to share some concept I'm using when writing driver. API should also been Plateform Agnostic, so the __init__() should receive the required bus (and address when appropriate). API should use machine.I2C, machine.SPI, ... in priority. Driver should always include code sample , detail...
by MCHobby
Sat Jun 27, 2020 1:16 pm
Forum: Drivers for External Components
Topic: IS31fl3731 Charlie-Plexed LED Matrix
Replies: 8
Views: 3497

Re: IS31fl3731 Charlie-Plexed LED Matrix

I made a backport to MicroPython based board.

Code is available here https://github.com/mchobby/esp8266-upy/ ... ter/is31fl
by MCHobby
Fri Dec 27, 2019 11:20 am
Forum: General Discussion and Questions
Topic: micropython v1.12 is out!
Replies: 6
Views: 1801

Re: micropython v1.12 is out!

I enjoy the SAMD support. It will be possible to upload MicroPython on Feather M0 Express (from Adafruit) instead of CircuitPython. However, it will be necessary to compile the SAMD firmware... I've been able to run the MicroPython SAMD port on a Trinket M0 and an Itsy Bitsy M4. But, to be clear, a...
by MCHobby
Mon Dec 23, 2019 8:44 pm
Forum: General Discussion and Questions
Topic: micropython v1.12 is out!
Replies: 6
Views: 1801

Re: micropython v1.12 is out!

Damien did wrote a post into the announcement section https://forum.micropython.org/viewtopic.php?f=8&t=7430 I enjoy the SAMD support. It will be possible to upload MicroPython on Feather M0 Express (from Adafruit) instead of CircuitPython. However, it will be necessary to compile the SAMD firmware...
by MCHobby
Mon Dec 23, 2019 2:50 pm
Forum: General Discussion and Questions
Topic: Pyboard-D : Document of Conformity for distributor under control for Frequency Spectrum
Replies: 1
Views: 666

Pyboard-D : Document of Conformity for distributor under control for Frequency Spectrum

@damien Hi, Damien. Following a contact from the Frequency Spectrum National Control agency, we have to comply with European Law regarding sales of RF products. We have to Publish the DoC (Document of Confirmity) for such product on our product sheets. This concerns the 3 versions of Pyboard-D board...
by MCHobby
Mon Dec 23, 2019 2:33 pm
Forum: General Discussion and Questions
Topic: booting main.py
Replies: 5
Views: 1258

Re: booting main.py

You can place all your files in the root directory of the board file system. You can also place your library into the "lib" subfolder. A third option is to create a sub-directory say "mydir" and then, you can append the "mydir" entry into the sys.path list. Place your starting code inside a file nam...