Storage the first value of att.heading(multiwii.2.3)

Post Reply
mreza
Posts: 3
Joined: Thu Nov 13, 2014 2:48 am

Storage the first value of att.heading(multiwii.2.3)

Post by mreza »

Hey guys
I want to store the first value of att.heading in a variable. For this i defined a new variable, the variable must itialize and could be change in program. i dont know where i should put the varible in which the value wont intilize again. i declare the variable in multwii.cpp (before void setup()) but when i use this variable in IMU.cpp the compiler give error ('variable' was not declared in this scope)!
how can i do this...?
Thanks

Post Reply