Pages: [1]   Go Down
Author Topic: I modified the official LiquidCrystal library and want to upload it  (Read 829 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I am new to the Arduino programming, but I wanted to work with a LCD and found myself in the situation of not having the control I needed with the official LiquidCrystal library. So I made some modifications to it that I consider improvements and I would like to share them, but I don`t know how and where. smiley-sad
Now I am still working on the library but I succeeded to make a low level read for the LCD. smiley-grin
If someone would be so helpful to point me in the right direction I would sincerely appreciate it, and if someone would want to put something new in the library and don`t know how, I would offer myself for help as much as I can. THANKS! smiley
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 525
Posts: 26506
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Put it up on the Playground.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thank you very much for the fast reply! But I would really like to participate to the official LiquidCrystal library so that no user has to download additional libraries and because the most part of the library is not my work... smiley-red
If it is not possible, OK, but I would be much more excited for participating for the official library.
Logged

0
Offline Offline
God Member
*****
Karma: 25
Posts: 606
Always making something...
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Many people have improved the LiquidCrystal library over the last few years.

Since about Arduino 0019, which John Raines dramatically improved its speed, added 40x4 format and numerous other improvements, the Arduino Team has not accepted nearly any patches to LiquidCrystal.

I salvaged John's awesome work and renamed it LiquidCrystalFast, which is available here:

http://www.pjrc.com/teensy/td_libs_LiquidCrystal.html

Again, LiquidCrystal got numerous 3rd party improvements (apparently all redone without John's work) here:

http://forum.arduino.cc/index.php?topic=77120.0

It would be really nice if somehow these many improvements, plus whatever you're going to do, could someday be accepted into Arduino's official version.  But before you start, know that LiquidCrystal has been pretty much frozen in Arduino and others have come before you, making pretty awesome improvements to the library which have not been accepted.

Your first step should probably involve communicating with the Arduino Team.  You might also review these 2 impressive improvements to the library first.  Perhaps if you propose merging all these improvements, they might be willing to accept them?
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 525
Posts: 26506
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Whew! Glad you stepped in with that knowledge burst Paul smiley
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Málaga, Spain
Offline Offline
Edison Member
*
Karma: 40
Posts: 2182
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Here is the site for the non-official LiquidCrystal library, in short with fast support fot 1wire connections (160fps on a 16x2 LCD - almost 2x faster than the original parallel library): https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
Logged

   

Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I got an answer on the google groups thread:https://groups.google.com/a/arduino.cc/forum/#!topic/developers/iYEERo4qMyY that I should submit the modifications to the github official repository, this is what I think I will do when I am done with the library. I propose you to make the same thing if you want your changes to appear in the official library... It is your work so I do not want any credit for that by merging the changes. I hope all our modifications will get in the library. I wish you as much luck and success as possible!
Logged

Málaga, Spain
Offline Offline
Edison Member
*
Karma: 40
Posts: 2182
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I think that the entire team that collaborates in the "New LiquidCrystal" library is very happy the way it is: fast, versatile (it supports many different LCD driving interfaces such as parallel, I2C, shift register in various flavours - SPI and one wire coming soon - all driven through the same interface) and very reliable. This means you can change your setup (HW) and just change how you create the object.
The latest version has had over 14000 downloads and it is currently being use by Marlin in the RepRap project for 3D printers. It is also used in many, or most, menu driving libs out there.
Have it pulled in or not into the Arduino code base, well the library is there. If the want it, they can take it. Most users are now scrapping the old one and changing it for this one any way.
What we also decided in the team was not to be burden with its maintenance nor effort to get it pulled in to the Arduino IDE.

Wish you luck!
« Last Edit: July 24, 2013, 07:17:44 am by fm » Logged

   

Pages: [1]   Go Up
Jump to: