Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MicroPython Port #36

Open
dbrgn opened this issue Dec 8, 2016 · 8 comments
Open

MicroPython Port #36

dbrgn opened this issue Dec 8, 2016 · 8 comments

Comments

@dbrgn
Copy link
Owner

dbrgn commented Dec 8, 2016

Would be great.

@thijstriemstra
Copy link
Contributor

why.. what is micropython?

@dbrgn
Copy link
Owner Author

dbrgn commented Dec 8, 2016

A Python interpreter that runs on microcontrollers: https://micropython.org/

@cfaessler
Copy link

cfaessler commented Jan 24, 2017

@dbrgn is there already any progress on this? I need to control a HD44780 with PCF8574 with my LoPy.
Im thinking about working on this. However, I need something to have it working by next Monday :)

@dbrgn
Copy link
Owner Author

dbrgn commented Jan 24, 2017

No, but it shouldn't be too hard, since the I2C functionality is already in there.

You could copy RPLCD/i2c.py to RPLCD/micropython.py to get started. Common code could be moved into a common_i2c file, but I don't think there's actually enough code in the i2c module for this to be worthwhile.

@cfaessler
Copy link

cfaessler commented Jan 24, 2017

Ok, what are other critical parts?

I guess I start working on this Thursday.

@dbrgn
Copy link
Owner Author

dbrgn commented Jan 24, 2017

The context managers are deprecated anyways, so maybe you can avoid support for them in the first place?

I'm currently working on a custom codec, but the codecs module is probably supported by MicroPython as well.

@melbow
Copy link

melbow commented Jul 18, 2017

Hi, any progress on this? I'd be willing to contribute too if the work can be split, just let me know

@dbrgn
Copy link
Owner Author

dbrgn commented Jul 19, 2017

@melbow Not yet. Feel free to give it a stab, I haven't found the time to do so yet in the last few weeks.

In case you have trouble with the enums, I think these could also be removed from RPLCD since they don't provide that much benefit but make porting harder.

@dbrgn dbrgn mentioned this issue Jul 30, 2017
@dbrgn dbrgn modified the milestone: Release 1.1.0 Jul 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants