Using the various sensors

HomeForumsMonoBrick Communication LibraryUsing the various sensors

This topic contains 3 replies, has 3 voices, and was last updated by Author Image Joshua Peterson (jpcreeper13) 6 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #4462
    Author Image
    Yan
    Participant

    Hello community,

    Has anyone has any luck getting reading from the different sensors? I couldn’t find a sample in the forums, and I tried some various methods which didn’t work. I am trying to get readings from the Sonar and Touch Sensors, but all my tries have failed until now, I keep on getting readings of “0″ which I assume is as good as saying the sensor reading was false.

    Thank You

    #4467
    Author Image
    Anders Søborg
    Key Master

    Hi

    Haved you looked at the documentation found here and the samples found in the guide

    Anders

    #4471
    Author Image
    Yan
    Participant

    Hi Anders,

    Thank you for your prompt reply. I follow the guide you mentioned, and I am now able to read the values with no problem. My mistake was the way I was initializing the sensors. Great work by the way Anders, , your library is fantastic.

    Yan

    #5640

    How do you initialize the touch sensor? (I’m using NXT)

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

Posted in

Make a donation