First I don't know where to put this for the help I'm looking for. I'm trying to create a cosplay tail that will react as I walk or with button presses. I own a GY-6500/mpu6500 tilt sensor and looking into buying servos and a teensy LC.
I know the teensy can read I2C the tilt sensor uses but the code is where I have issue. I'm looking for like example code for both reading I2C from the tilt sensor, how to drive a servo, and /or how to read button presses. Lets say I have been out of coding with a teensy for years and I need to brush up on it again.
The picture is of how logically I think it would run.
I know the teensy can read I2C the tilt sensor uses but the code is where I have issue. I'm looking for like example code for both reading I2C from the tilt sensor, how to drive a servo, and /or how to read button presses. Lets say I have been out of coding with a teensy for years and I need to brush up on it again.
The picture is of how logically I think it would run.