Variables | |
| uart = pyb.UART(2) | |
| Creates UART object for sending serial data. More... | |
| i2c = I2C(-1, scl=Pin('PB8'), sda=Pin('PB9'), freq=115200) | |
| Initializes the I2C bus. More... | |
| start_time = utime.ticks_us() | |
| Start time of the data collection. More... | |
| imu = BNO055(i2c) | |
| Initializes the bno055 driver using the I2C object. More... | |
| curr_time = utime.ticks_us() | |
| int | time = utime.ticks_diff(curr_time, start_time)/1e6 |
| eulr = imu.euler() | |
| omga = imu.gyro() | |
| IMU_Test.curr_time = utime.ticks_us() |
| IMU_Test.eulr = imu.euler() |
| IMU_Test.i2c = I2C(-1, scl=Pin('PB8'), sda=Pin('PB9'), freq=115200) |
Initializes the I2C bus.
| IMU_Test.omga = imu.gyro() |
| IMU_Test.start_time = utime.ticks_us() |
Start time of the data collection.
| int IMU_Test.time = utime.ticks_diff(curr_time, start_time)/1e6 |
| IMU_Test.uart = pyb.UART(2) |
Creates UART object for sending serial data.