View Full Version : Display to LCD
07-07-2009, 11:56 PM
how do we display the data from our sensors to an LCD monitor?
07-08-2009, 12:11 AM
It depends on what kind of LCD monitor you have. You might have a standard TV (NTSC video) input monitor or a VGA input monitor. In those cases, you could use any of several standard TV or VGA drivers, whether graphics or text-only. These come with the Propeller Tool and are also available in the Propeller Object Exchange (obex.parallax.com/ (http://obex.parallax.com/)). You might have a small serial or parallel LCD display like those sold by Parallax. If serial, you could use any of several serial I/O drivers. Simple_Serial.spin is the simplest. Again, look in the Object Exchange. If parallel, the specifics depend on the controller chip used. There are several I/O drivers for parallel LCDs in the Object Exchange. See if one of them matches.
All of the various display I/O drivers have routines for converting integers to displayable numbers in decimal, hexadecimal, or binary format. If you need floating point, there's a floating point library in the Object Exchange and floating point to string routines as well.
07-08-2009, 02:15 AM
We ordered the parallax w by 16 serial lcd product # 27976
how should we go about doing this with this product?
07-08-2009, 02:26 AM
You can use the object "Debug_lcd.spin" It comes with the Prop Tool
Take a look at "Debug_LCD_Test" for help on displaying numbers and text.
To get data from a sensor, put the data in a variable, and then use a command like "LCD.dec(My variable)"
My website www.quigleyelectronics.com/ (http://www.quigleyelectronics.com/)