Page 1 of 1

LCD and LCD i2c

Posted: Mon Feb 22, 2016 7:51 am
by slothy
Hi,

I'd like to share with all a 'port' of arduino's LCD lib, for the hd44780 bases LCDs. It's mainly a translation from c++ code to python.

https://github.com/slothyrulez/lcdi2c

Do not hessitate to comment. :D

Re: LCD and LCD i2c

Posted: Mon Feb 22, 2016 8:10 am
by kfricke
After "translating" code from c/c++ to Python it might sound reasonable to stick with it's GPL license. But in the embedded world the less viral MIT or BSD license seems to be more applicable.

Re: LCD and LCD i2c

Posted: Mon Feb 22, 2016 8:50 am
by dhylands
I also have a library over here:
https://github.com/dhylands/python_lcd/tree/master/lcd
which works with GPIO or I2C, and is licensed using the MIT license.

Re: LCD and LCD i2c

Posted: Mon Feb 22, 2016 11:15 am
by slothy
kfricke wrote:After "translating" code from c/c++ to Python it might sound reasonable to stick with it's GPL license. But in the embedded world the less viral MIT or BSD license seems to be more applicable.
Just created the repo on github interface. You are right i'll move to MIT, and i also forgot to mention the original project, my bad.

Re: LCD and LCD i2c

Posted: Mon Feb 22, 2016 11:16 am
by slothy
dhylands wrote:I also have a library over here:
https://github.com/dhylands/python_lcd/tree/master/lcd
which works with GPIO or I2C, and is licensed using the MIT license.
Crap! didn't see it before!

Anyway it's been fun

Re: LCD and LCD i2c

Posted: Tue Feb 23, 2016 12:22 pm
by platforma
This should probably go under "Drivers for External Components" :)

Re: LCD and LCD i2c

Posted: Tue Feb 23, 2016 5:44 pm
by dhylands
I took the liberty of moving this to Drivers for External Components .

Re: LCD and LCD i2c

Posted: Sat Feb 27, 2016 12:45 pm
by SpotlightKid