Shop OBEX P1 Docs P2 Docs Learn Events
Display to LCD — Parallax Forums

Display to LCD

NGC09NGC09 Posts: 10
edited 2009-07-07 18:26 in Propeller 1
how do we display the data from our sensors to an LCD monitor?

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2009-07-07 16:11
    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/). 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.
  • NGC09NGC09 Posts: 10
    edited 2009-07-07 18:15
    We ordered the parallax w by 16 serial lcd product # 27976

    how should we go about doing this with this product?

    Thank You
  • Adam WieslerAdam Wiesler Posts: 81
    edited 2009-07-07 18:26
    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/
Sign In or Register to comment.