PDA

View Full Version : Temperature Chart



seniorvos
11-13-2010, 06:07 PM
Hello everybody,
Does anyone know how to create a chart on a VGA-display? I want to make a table which consists of about 60 temperatures. This chart has to start (in one go) with about 60 colored bars. These bars represent the temperature which should be achieved by the device which is controlled by the Parallaxchip in 60 steps.
Between the bars there must be some space so that afterwards the actually achieved temperature can be put to the right of its whished temperature.

Is there something like this available? Thanks!

Mike Green
11-13-2010, 06:18 PM
Look at the Graphics driver that comes with the Propeller Tool and is also in the Object Exchange. This has the ability to draw rectangles and lines as well as draw text on the screen. It works with both the VGA and TV display drivers since it just works with the bitmap buffer. The only issue is that there's not enough room in memory for a high resolution VGA display bitmap, so you have to use something like a 512 x 384 pixel bitmap and configure the VGA driver for that. Some of the graphics demos are set up that way (see "VGA 512x384 Bitmap" in the Object Exchange).

seniorvos
11-13-2010, 07:33 PM
Hello Mike,
Thanks for your unbelievable quick and usefull reply!
Gerald.