Author Topic: Virtual LCD  (Read 12034 times)

StefanA

  • Newbie
  • *
  • Posts: 29
  • I'm a llama!
    • View Profile
Virtual LCD
« on: April 25, 2013, 09:42:21 AM »
How can I display a degree symbol on the nano virtual LCD. CHR$(186) works on the monitoring LCD in the development software but not on the web page LCD.

support

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3174
    • View Profile
    • Internet Programmable PLCs
Re:Virtual LCD
« Reply #1 on: April 25, 2013, 07:02:48 PM »
ASCII character above 127 is not defined and is up to individual application or hardware to customize it for their own needs. So on the actual LCD display or the online monitoring or the webpage access the could be representing different symbol.

If you want the virtual LCD on the webpage to display these special character then you will have to modify the program that displays the LCD data in the M.JS file. You may need to write a function to read a string and examine each character one by one and then convert the character to the symbol supported by the character set of the webpage.
Email: support@triplc.com
Tel: 1-877-TRI-PLCS