I've been messing around with my display for a while now and have some working code for an mp3 player using anders MO-Perl module which im sure some of you are fimilar with.
The thing is when i turn on the PC and the LCD lights up, the background is bright blue with a bright grey blinking cursor.. but as soon as I initalize the display and write some text to it, the background turns much darker and the so does the text - it just doesnt look as cool.
I read the PDF file from the manuals page on matrixorbital.com and the best answer i can come up with is that my problem is a brightness setting? Now according to the PDF document the commands for adjusting the brightness are: 254 153 [brightness]. So i set about adding a new sub to the Display.pm module but it doesnt quite work(the sub IS being called btw)... heres what I've done to test it:
Code: Select all
sub display_brightness
{
$brightness = sprintf "%c153", 0xfe, 255;
print DISPLAY "$brightness";
}
I'm pretty sure that im sending the commands to the display incorrectly so if anyone can guide me in the right direction I can add some more usfull features not yet implemented in the MO-Perl module..
While I have your attention

Any reply or example code or even reading this is aprechiated =)
Thanks.