Search found 2 matches

by elliebell370
Wed Mar 13, 2013 5:12 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Accelerometer Data in Object?
Replies: 4
Views: 3301

Re: Accelerometer Data in Object?

Thanks for the help!

I should have mentioned that I am not having trouble graphing mock data -- only data from the accelerometer, but I appreciate the help on that front! :)

My issue seems to be exclusively with passing the accelerometer data into the objects.

I have tried a simplified version of ...
by elliebell370
Tue Mar 12, 2013 10:31 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Accelerometer Data in Object?
Replies: 4
Views: 3301

Accelerometer Data in Object?

Hi guys!

I am trying to create a moving graph of accelerometer data. In my stack, I have the following code:

global ax, ay, az
on accelerationChanged ax, ay, az
put "AccelX: " & ax & return & "AccelY: " & ay & return & "AccelZ: " & az & return into field "Accel"
end accelerationChanged

This ...