Author Topic: Help with the accelerometer (mcMod120)  (Read 158 times)

Junkboy

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: Help with the accelerometer (mcMod120)
« on: May 30, 2018, 08:18:33 pm »
I am trying to do my best to understand how the code that you send me as an example works, but is there a way to always be sending the current orientation of the device? I want to know at all times or as soon as possible the location, let me put you in context, for example, at the start I have: X = 0 Y = 0 Z = 0 in that case the device would be on the floor with all axes at "0" but let's say I start walking with the device at my leg, in that case let's say that we would have X = 12 Y = 8 Z = 15 that data I want to be taking for example every second or every 500 ms to keep a continuous tracking of the information, right now idk how to send that info by MQTT but.. I use an example that I found at internet that send the temp and batteryVoltaje to Losant and I'm using Losant until I learn how to send that data to my own server.