Coming form Arduinos, I always happily used i2cdevlib. Now I miss it.
http://i2cdevlib.com/
Do you think this can be ported?
From my, naive, perspective - it should be possible. There als some to be porting to MSP430 going on.
What's needed are python wrappers. And, it seems, those can even be autogenerated.
It is using the wire library tough, while micropython has it's own i2c module.
Having micropython support in i2cdevlib would be hughe. Interfacing with sensors is a pretty common task for microcontrollers.
Would be nice to hear you opinions before I waste a lot of time. Also, I guess this is a little beyond ma capabilities. But, hey, that's how you learn.
Is it possible to port i2cdevlib?
Re: Is it possible to port i2cdevlib?
Yes, it can be ported. And yes, it should be autogenerated. No, that's not exactly easy, but worth it. I wanted to port i2cdevlib to my super-framework https://github.com/pfalcon/PeripheralTemplateLibrary for a long time. 2 years later, it's still in my queue. So yes, porting it would be nice.
Awesome MicroPython list
Pycopy - A better MicroPython https://github.com/pfalcon/micropython
MicroPython standard library for all ports and forks - https://github.com/pfalcon/micropython-lib
More up to date docs - http://pycopy.readthedocs.io/
Pycopy - A better MicroPython https://github.com/pfalcon/micropython
MicroPython standard library for all ports and forks - https://github.com/pfalcon/micropython-lib
More up to date docs - http://pycopy.readthedocs.io/