Trouble with reading values from the device

Recent Topics Forums Installation & Troubleshooting Trouble with reading values from the device

This topic contains 4 replies, has 2 voices, and was last updated by Profile photo of monta monta 3 years, 4 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #230
    Profile photo of H2L
    H2L
    Keymaster

    When you find yourself not able to read values from the device, the causes could be related to the points listed below.

    ? CAUSE 1: Serial Communication has not been established properly.

    Please refer to STEP 4 of the following tutorial to run Serial Communication tests.
    http://dev.unlimitedhand.com/introduction/index_intro.html

    ? CAUSE 2: Damage to hardware ? ? ?

    • This topic was modified 3 years, 5 months ago by Profile photo of H2L H2L.
    #257
    Profile photo of monta
    monta
    Participant

    By Plugin ver.0033 for Unity, code check “+” or “_” in read data.

    When I tryed by using Arduino IDE or Teraterm, I can’t find those character.

    #260
    Profile photo of H2L
    H2L
    Keymaster

    Monta,

    Sorry for the delay,
    May I confirm that your question is inquiring what the symbols “+” and “_” mean?
    If so, would you kindly tell us at which step you are encountering those symbols?

    UnlimitedHand Team

    #268
    Profile photo of monta
    monta
    Participant

    Hi.

    I’ll explain more detail.

    I read the source code ” UnlimitedHand for Unity Plugin ver 0033″,
    and I understand following.

    To read Photo-reflector sensors values from UnlimtedHand, UH.cs send “c” then UnlimtedHand
    will return data and it contain “_”.

    >if(data!=null && data.Contains(“_”)) {

    To read Gyro and Accel seems same way.(send “a” and get values that contain “+”)

    >if(data!=null && data.Contains(“+”)) {

    But, I tried “c” or “a” command by using arduino IDE or teraterm, I couldn’t get above symbols “+” and “_”.

    So, my question is , what does the symbols “+” and “_” mean? and how to get the symbols?
    (I miss any configuration?)

    Thanks.

    #269
    Profile photo of monta
    monta
    Participant

    I found this solution.

    http://dev.unlimitedhand.com/unity/update.html
    (I didn’t update)

    thanks.

    • This reply was modified 3 years, 4 months ago by Profile photo of monta monta.
Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘Trouble with reading values from the device’ is closed to new replies.