LCD_screen Library Suite
Moderators: adafruit_support_bill, adafruit

LCD_screen Library Suite

by avenue33 on Wed Feb 15, 2012 3:37 am

Jump to the new LCD_screen Library Suite

Please find the latest release of the Serial_LCD library suite.

Please find the new LCD_screen Library Suite that replaces the Serial_LCD Library Suite.

The LCD_screen Library Suite supports a wider range of SPI and 16-parallel affordable screens, apart from the 4D Systems Picaso-based serial screens.


Enjoy :)

[hr]

This library suite works with all 4D Systems screens, uLCD, uOLED and uVGA. It handles text and graphic display, touch, SD-card and sound.
Image

High level library GUI provides label, buttons, menu, dialog box.
Image Image

High level library Graphics provides clock, gauge and histogram graphics.
Image Image
Hardware, software and I2C serial connections are managed through the proxySerial library.

Image

Serial_LCD: Feb 12, 2012 release 119a - __AVR_ATmega328P__ added
proxySerial: Feb 12, 2012 release 106a - __AVR_ATmega328P__ added
button / GUI: Feb 12, 2012 release 108a - __AVR_ATmega328P__ added
Graphics: Feb 12, 2012 release 106a - __AVR_ATmega328P__ added

Find documentation, code, tutorials and examples at :arrow: 4D Systems μLCD-μLED-μVGA Serial_LCD Library.

Enjoy :)
Last edited by avenue33 on Sat Dec 07, 2013 1:44 pm, edited 3 times in total.
avenue33
 
Posts: 83
Joined: Sat Dec 11, 2010 7:42 am

Re: 4D Labs μLCD-μLED-μVGA Serial LCD Library

by avenue33 on Sun Mar 18, 2012 9:43 am

As at today, the Serial_LCD library suite is based on Arduino 0023. I'm currently working on an update to Arduino 1.0.

I'd like to take this opportunity to improve the syntax of the functions and make them more consistent.

This means some functions are going to change. For example,
Code: Select all | TOGGLE FULL SIZE
uint8_t Serial_LCD::gText(uint16_t x, uint16_t y, uint16_t colour, String s)
is going to change for
Code: Select all | TOGGLE FULL SIZE
uint8_t Serial_LCD::gText(uint16_t x, uint16_t y, String s, uint16_t colour = whiteColour)
with same order: first horizontal and vertical coordinates, then active value, and finally options pre-populated.

What do you think? Answer this :arrow: quick survey!

Thank you.
avenue33
 
Posts: 83
Joined: Sat Dec 11, 2010 7:42 am

Re: 4D Labs μLCD-μLED-μVGA Serial LCD Library

by philba on Sun Mar 18, 2012 1:30 pm

Since you are the author, you get to do what ever you want! However, for all the newbees out there, I hope you maintain backward compatibility. There is nothing more discouraging to a newbee when he or she downloads a sketch written for an older version of your library and get's all sorts of errors. Especially since GCC is deeply geeky when it comes to error messages. I still see people asking about problems in sketches they've downloaded which trace back to the changes in the wire library. Since C++ allows you to have multiple definitions of a given function (er, method), you should be able to maintain compatibility and update functionality.

Ideally, sketches written against older versions of your library will just work with the new library.
philba
 
Posts: 387
Joined: Mon Dec 19, 2011 5:59 pm

Re: 4D Labs μLCD-μLED-μVGA Serial LCD Library

by avenue33 on Sun Mar 18, 2012 2:05 pm

A coming library displays an image gallery on 4D Systems screens.

Image

Image

Learn more about :arrow: Gallery with code snippet, pictures and video.
avenue33
 
Posts: 83
Joined: Sat Dec 11, 2010 7:42 am

Re: 4D Labs μLCD-μLED-μVGA Serial LCD Library

by avenue33 on Mon Mar 19, 2012 1:41 pm

The new release of Serial_LCD for Arduino 1.0 is available.

Thank you to all those who answered the survey :).

A very limited list of functions has a new syntax.

This ensures a better consistency. Non-essential parameters are pre-populated with default values.
Code: Select all | TOGGLE FULL SIZE
uint8_t tText(uint8_t x, uint8_t y, String s, uint16_t colour=whiteColour)

Note the default value whiteColour for colour.

Learn more :arrow: here!
avenue33
 
Posts: 83
Joined: Sat Dec 11, 2010 7:42 am

Re: 4D Labs μLCD-μLED-μVGA Serial LCD Library

by avenue33 on Tue Mar 20, 2012 5:10 pm

Update with Serial_LCD_main example for
• Arduino Uno using SoftwareSerial port
• and Arduino mega2560 using hardware port Serial3

Available :arrow: here!
avenue33
 
Posts: 83
Joined: Sat Dec 11, 2010 7:42 am

Re: 4D Labs μLCD-μLED-μVGA Serial LCD Library

by avenue33 on Sat Mar 24, 2012 8:58 am

Please find the new releases of the Serial_LCD library suite:
• for Arduino 0023 and chipKIT 0023: fixed issue linked to Arduino mega2560 uploader bug
• for Arduino 1.0: with all libraries, including the new photo Gallery library and examples.

Use your screen as a image gallery: pictures and video!

Documentation, tutorials, examples and code are available at :arrow: 4D Systems μLCD-μLED-μVGA Serial_LCD Library Suite.
avenue33
 
Posts: 83
Joined: Sat Dec 11, 2010 7:42 am

Re: 4D Labs μLCD-μLED-μVGA Serial LCD Library

by avenue33 on Sat Mar 31, 2012 12:10 pm

The Serial_LCD library includes a new graphic: gauge.

On the same screen, an histogram and a gauge display can be combined and share the same data.

Image

Learn more :arrow: here. Enjoy!
avenue33
 
Posts: 83
Joined: Sat Dec 11, 2010 7:42 am

Re: 4D Labs μLCD-μLED-μVGA Serial LCD Library

by avenue33 on Sun Apr 01, 2012 5:04 am

Please find the FAQ with answers to the often raised question I receive about 4D Systems screens and the Serial_LCD library suite.

• After resetting a sketch, the screen doesn't respond.
• Which micro-SD to use?
• My screen doesn't light up.
• My screen doesn't play sound.
• My screen doesn't respond when I use faster serial speeds.
• My screen hangs when I use touch.

Read the :arrow: FAQ!
avenue33
 
Posts: 83
Joined: Sat Dec 11, 2010 7:42 am

Re: 4D Labs μLCD-μLED-μVGA Serial LCD Library

by avenue33 on Wed Apr 11, 2012 7:30 am

I decided to go away from Google, which is concentrating too much power over single hobbyists like me. So I closed the accounts for all the products I had.

The new website is embeddedcomputing.weebly.com/
Dedicated Serial_LCD section is at embeddedcomputing.weebly.com/serial-lcd.html
Code is back on GitHub at github.com/rei-vilo/Serial_LCD
My Twitter is twitter.com/rei_vilo

See you there!
avenue33
 
Posts: 83
Joined: Sat Dec 11, 2010 7:42 am

Re: 4D Labs μLCD-μLED-μVGA Serial LCD Library

by avenue33 on Mon Apr 23, 2012 3:55 pm

Please find the latest revision of the GUI library, with a slider.

Apr 22, 2012 release 109 • GUI slider added
slider_main example

Image

Documentation is here and code there.
avenue33
 
Posts: 83
Joined: Sat Dec 11, 2010 7:42 am

Re: 4D Labs μLCD-μLED-μVGA Serial LCD Library

by avenue33 on Sat Apr 28, 2012 10:31 am

New library Energy to manage backlight and save power

Apr 28, 2012 release 101 • Initial release

Learn more here
avenue33
 
Posts: 83
Joined: Sat Dec 11, 2010 7:42 am

Re: 4D Labs μLCD-μLED-μVGA Serial LCD Library

by avenue33 on Thu May 24, 2012 8:38 am

Up to now, the embedded graphic micro-controller —Picaso or Goldelox— was determined by the type of device —μOLED, μLCD or μVGA.

I faced a dilemma with the μLCD14: although a μLCD, it is powered by the Goldelox micro-controller.

Find the new algorithm at :arrow: Intermediate Level: Self-Information with the updated info_main example.
avenue33
 
Posts: 83
Joined: Sat Dec 11, 2010 7:42 am

Re: 4D Labs μLCD-μLED-μVGA Serial LCD Library

by avenue33 on Sat Jul 07, 2012 6:09 am

The next major release of the Serial_LCD library suite also features code size optimisation, on top of unification —one single set of libraries for Arduino 23 and 1.0, Wiring and MPIDE— and documentation —PDF and Xcode native docset.

As an example, the memory footprint of the compiled library in charge of the GUI —with label, button, menu, dialog box and slider— has shrunk by 4 KB.

Other libraries are scrutinised under the same process, saving 2 KB out of the Graphics library.
avenue33
 
Posts: 83
Joined: Sat Dec 11, 2010 7:42 am

Re: 4D Labs μLCD-μLED-μVGA Serial LCD Library

by avenue33 on Fri Jul 13, 2012 3:11 am

Please find the new release of the Serial_LCD library suite, with

Jul 12, 2012 release 132

• Unified release: one single library for Arduino 23 and 1.0, chipKIT MIPDE and Wiring
• Optimised code: lighter memory footprint
• New graphic: multiple histogram with up to 4 series of values

Image

As always, find documentation, tutorials, examples, code and downloads at :arrow: http://embeddedcomputing.weebly.com/serial-lcd

Documentation on a PDF file is planned to be released later on.
avenue33
 
Posts: 83
Joined: Sat Dec 11, 2010 7:42 am



cron