Quote:
|
Originally Posted by fred
How would you program a gyro and a yaw sensor? Also what specifically does a gyro and a yaw sensor return? Finally how do you install this? Thanks
|
I'm looking at last year's. It's BEI GyroChip Micromachined Angular Rate Sensor. I'm basing this on the spec sheet, I haven't used it, so confirmation would be nice!
You would add the output to a variable ("Compass") once a second, like:
Code:
Compass = (char)(Compass + (int)(rc_ana_in01 - 127))
Like I said, once a second (Or what ever is convienient, I'd use a interupt if you know how).
Hopefully that gets you started, good luck!