Go Down

Topic: LCD_screen Library Suite (Read 37 times) previous topic - next topic

Yot

Hi avenue33, Graynomad,

If you (or anyone) are interested in my lib., let me know and i will mail it. You are right that most libs are for the smaller sized displays. Maybe we could use at least the same syntax for the basic commands.

I have rewritten 'my' lib. a few times for learning and i decided on a 'base' class/lib with only the commands from the command sheet, tried to follow their syntax/wording/behavior as close as possible. I planned on extending functionality in separate classes and/or headers. Thus far i have, apart from most of the basic commands, made a (proof of concept) class for bargraphs and another one for histograms. One of the things i would like to add is a filesystem class for using the sd-card with the FAT filesystem instead of 'raw' access.

As i started with an Arduino Mega1280 i made the base class accept any of the hardware serial ports as a constructor argument. Another thing i would like to implement is incorporating the softSerial library to free the single hardware serial port on the Arduino UNO or duemilanove type Arduinos. I chose to incorporate the serial communications inside the library to be able to optimize the communications in the future. (dreaming about custom buffer sizes, non blocking commands and so on. :) )

It seems the 4d-systems modules are becoming popular. I like them apart from the price. Also i think the shield they have is a bit limited. No circuit for buttons or sound, only hardware serial port usage.

Regards,
Jeroen.

Yotson on irc://freenode/arduino

Graynomad

I plan to use this display with a Mega1284 chip on a control node for a network I'm developing, (http://busnet.robgray.com/hardware/ncn/index.php), I got some free hardware from 4DS to help me do the job so I better get something made I guess :)

I have so much to do on the network design that there's not much point getting too involved with the display right now but I'm happy to look at code, maybe I'll spot a bug or two or have an opinion on the API calls.

I have one question (to both avenue and yot), do you handle landscape and portrait orientations? Presumably it's just a matter of sending the appropriate command to the display then keeping two variables for width and height.

My email is rob@robgray.com if anyone wants to contact me directly.

______
Rob
Rob Gray aka the GRAYnomad www.robgray.com

avenue33


I have one question (to both avenue and yot), do you handle landscape and portrait orientations?


The orientation is handled manually through the

Code: [Select]
  byte setOrientation(byte b);   // Display Control Functions - 59hex

instruction on my library.


midnight_coder

How do you guys like this screen? How does it compare to the iPhone's screen? How usable is it in direct sunlight?

avenue33


How do you guys like this screen?
Colours are crisp, the screen is fast, the touch is accurate, and the price is ok.

Quote
How does it compare to the iPhone's screen?
Don't dream to much: they aren't playing on the same field.

Quote
How usable is it in direct sunlight?

I haven't tested yet.

Go Up