Detect if BerryIMU present

Home Forums Forums Technical Support for BerryIMU Detect if BerryIMU present

Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #6749
    Damon
    Participant

    I have the BerryIMU all connected and running.  I put it on raspian and ran the sample programs.  Works great.  Then I put it on the Windows IoT and ran that sample program.  Works great.

    What I need to do is to test under Windows UWP if the BerryIMU is present.  We have an application that crashes if it isn't there.

    Can you help me with this?  Thanks!

    #6751
    Damon
    Participant

    Update:
    So I threw the initialize code block into a Try-Catch.  If the IMU fails to initialize I set a flag so we don't use the IMU.   All is good.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Blip, blop, bloop...