A bug in the GLCD modul!?

General discussion relating to the library modules supplied with the compiler

Moderators: David Barker, Jerry Messina

Post Reply
CS
Posts: 127
Joined: Thu Nov 02, 2006 9:14 am

A bug in the GLCD modul!?

Post by CS » Tue Sep 16, 2008 3:54 pm

Hey all,

because I'm searching for a fast solution for my problem (VU- Meter) I played around with the subs and functions of the GLCD modul.

Now I found out that the sub 'SQUARE(px,py,psize)' (SQUARE(30,16,5)) only draws a line.
The Sub itself looks ok but this sub calls the sub Rectangle wich also seems to be ok. What is wrong?

My Hardware: EasyPic4 with 18F4620 and lcd with SED 1520.

Thanks in advance

Christian

rmteo
Posts: 237
Joined: Fri Feb 29, 2008 7:02 pm
Location: Colorado, USA

Post by rmteo » Mon Dec 22, 2008 1:15 am

I ran this line (with a KS0108 GLCD) and it drew a square 5 pixels wide. Must be an issue with the SED1520 driver as they both use the same GRAPHICS module.

Code: Select all

GLCD.Square(30,16,5)

Post Reply