Author Topic: Accelerometer Events  (Read 734 times)

dysharbor

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Accelerometer Events
« on: June 24, 2016, 12:39:40 pm »
Tried out your accelerometer example but got an error on line 208 in MMA8652--> Left side of the expression data type is 'Byte" and the right side expression returns an Integer.'  Downloaded today 6/24.

I don't know why it's returning an integer, but I changed it to:  dataByte = dataByte & ~0x01.ToByte

Now seems to work.  Am I correct?

Thanks.