Pysense Examples
Last updated
Last updated
This basic example shows how to read pitch and roll from the on-board accelerometer and output it in comma separated value (CSV) format over serial.
If you want to visualise the data output by this script a Processing sketch is available here that will show the board orientation in 3D.