add firmware

This commit is contained in:
Dana Markova
2025-07-28 12:43:33 +03:00
parent 6cf2747ec9
commit 748830dfb7
84 changed files with 40709 additions and 0 deletions

20
dev/imu.h Normal file
View File

@ -0,0 +1,20 @@
#pragma once
struct IMU_Data
{
short Temp;
struct { short X, Y, Z; } Acc;
struct { short X, Y, Z; } Gyr;
struct { short X, Y, Z; } Mag;
float Bar;
float Tmp;
};
struct MAG_Data
{
short X, Y, Z;
};
void IMU_Init();
void IMU_Get(IMU_Data& Data);