sketching to read 3 dof IMU combo board

Start with a simpler project, like reading the analog value a potentiometer wired between +5V & GND.
You are starting out with too much here.