Announcement

Collapse
No announcement yet.

Hobby Boards LCD Driver

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Hobby Boards LCD Driver

    I got my LCD Driver today, but I have never sent information over the 1-wire network before. I could really use a little help.

    I see there are 8 switches now that show up on my 1 wire. I was told before to send what I want to display using

    Use hs.SetDeviceString "DC","Text to Display"

    But which switch do I send that to?

    Also, I had a DS2406 added to control the backlight. How do I turn these switches on and off?

    Thanks

    #2
    Ok.

    I now have it where I can turn the backlight on and off.

    I can also now send the text to the lcd via mcsxap1wire.

    But when I do a
    hs.SetDeviceString "[28","Hello"

    I see the string update on [28 but the text never displays on the lcd.

    Comment


      #3
      There is a setting for AAG vs. Hobby-board lcd. Tthedefault is AAG

      Comment


        #4
        I did change that to Hobby-Boards and also set it as a 4 X 20.

        Comment


          #5
          If it helps, I am running the hybrid version of the plugin.

          I also captured this from XAPviewer

          The following message caused an error during its processing.
          Name/value pair contains no valid separator characters
          The message was received from 127.0.0.1:32768

          ------------
          xap-header
          {
          v=13
          hop=1
          uid=FF.000E:00
          class=Homeseer.Event
          source=mcs.Xap.KOV-NT3
          }
          Event.String
          {
          Device=[29
          Text= 9:42:00 PM

          It is working
          }

          ------------
          The error that was generated is as follows:
          Name/value pair contains no valid separator characters

          Source: xFx
          Name/value pair contains no valid separator characters
          KCS.xAP.Framework.xAPMessageReaderException: Name/value pair contains no valid separator characters
          at KCS.xAP.Framework.Message.xAPInfo.GetPairValueEncodingFormat (String line, Int32 line_number)
          at KCS.xAP.Framework.Message.xAPMessageReader.ReadMessagePair(x APMessage message, String line)
          at KCS.xAP.Framework.Message.xAPMessageReader.ReadMessage()
          at KCS.xAP.Framework.Transport.xAPListener.ProcessQueuedMessage (xAPRawData data)
          Last edited by chrkov; July 22, 2008, 09:44 PM.

          Comment


            #6
            It looks like mcsXap did not recognize this message as multi-line. When there are control characters (e.g. CR LF) it should convert the data field to hex for transmission. I do not have the source for mcsXap with me on the road, but I would try a simplier single line string for testing purposes. I do send send multi-line LCD text from HS as part a single line script event each minute which contain time and temperature so I know it works. We just need to find the secret.

            Comment


              #7
              Thanks.

              I did that and it worked. Then I went back and put my multi line and it works now too.

              Go figure.

              Chris

              Comment

              Working...
              X