Search found 54 matches

by tuupola
Mon Feb 12, 2018 4:58 am
Forum: Drivers for External Components
Topic: I2C driver for LIS2HH12 3-axis accelerometer
Replies: 3
Views: 2150

Re: I2C driver for LIS2HH12 3-axis accelerometer

Let me know how it goes. If it works I mention it in docs.
by tuupola
Sun Feb 11, 2018 3:11 pm
Forum: Drivers for External Components
Topic: I2C driver for LIS2HH12 3-axis accelerometer
Replies: 3
Views: 2150

Re: I2C driver for LIS2HH12 3-axis accelerometer

Since I am big believer in reuseable code I just updated this driver to use unified sensor properties and units as described by CircuitPython design guide. TL;DR default unit is m/s^2 instead of g and values are accessed via sensor.acceleration property instead of sensor.acceleration() method.
by tuupola
Sun Feb 11, 2018 7:56 am
Forum: ESP32 boards
Topic: Help with ESP32 micropython flashing!
Replies: 2
Views: 3014

Re: Help with ESP32 micropython flashing!

I wrote instructions on flashing M5Stack few days ago. TL;DR try erasing flash first and lower baud rate. $ esptool.py --port /dev/cu.SLAB_USBtoUART --baud 115200 --after no_reset erase_flash $ esptool.py --port /dev/cu.SLAB_USBtoUART --baud 115200 write_flash --flash_mode dio --flash_freq 80m --fla...
by tuupola
Sun Feb 11, 2018 7:47 am
Forum: ESP32 boards
Topic: MicroPython on ESP32 with SPIRAM support
Replies: 457
Views: 130366

Re: MicroPython on ESP32 with SPIRAM support

GPL is viral. If a permissive licensed (MIT) project includes restrictive licensed (GPL) code the GPL license says if the derivative work (in this case Loboris fork) is distributed (for example via GitHub) the whole derivative work must be relicensed as GPL. You cannot have parts of the code under M...
by tuupola
Wed Feb 07, 2018 12:36 pm
Forum: General Discussion and Questions
Topic: State of MicroPython universe (was: of micropython-lib?)
Replies: 52
Views: 18912

Re: State of micropython-lib?

Paul's behaviour online reached a point towards the end of 2017 where, regretfully, I felt that he was doing more harm than good to the project. If you are interested you can read for example this post: https://mail.python.org/pipermail/python-dev/2017-November/150383.html Read through the November...
by tuupola
Wed Feb 07, 2018 12:28 pm
Forum: General Discussion and Questions
Topic: State of MicroPython universe (was: of micropython-lib?)
Replies: 52
Views: 18912

Re: State of micropython-lib?

My only issue of pfalcon/micropython-lib being the official standard library repo would be if it depends on non-official fork of MicroPython. It would be too confusing. If it is usable with vanilla MicroPython everything is fine. Maybe release those packages needing special version of MicroPython as...
by tuupola
Tue Feb 06, 2018 12:28 pm
Forum: micro:bit boards
Topic: microbit's BMP280 drive
Replies: 4
Views: 3539

Re: microbit's BMP280 drive

Looks awesome! Which license does the code use?
by tuupola
Mon Feb 05, 2018 1:14 pm
Forum: General Discussion and Questions
Topic: State of MicroPython universe (was: of micropython-lib?)
Replies: 52
Views: 18912

Re: State of micropython-lib?

FWIW to me micropython/micropython-lib is the standard lib. Would be nice to get confirmation about which one is used for libraries installed from pypi.
by tuupola
Mon Feb 05, 2018 10:56 am
Forum: General Discussion and Questions
Topic: State of MicroPython universe (was: of micropython-lib?)
Replies: 52
Views: 18912

Re: State of micropython-lib?

make forks instead of sending PRs That is not very accurate, it's not one or the other, they go hand in hand. You create a fork with the intent of being able to submit PRs, that's how github works best. If that PR is merged you sync your fork with the upstream again. I do understand how Git works. ...
by tuupola
Mon Feb 05, 2018 6:18 am
Forum: General Discussion and Questions
Topic: State of MicroPython universe (was: of micropython-lib?)
Replies: 52
Views: 18912

Re: State of micropython-lib?

If this is a case of core developers not getting along anymore then yeah that happens. Best thing would be to fix whatever disagreement there is. If not possible then at least make a clear distinction between the projects. Since docs suggest pfalcon/micropython is also called pycopy standard library...