Added PID

This commit is contained in:
lulko 2025-04-17 16:49:39 +03:00
parent 06aae3981e
commit e65857ca6f
3 changed files with 65 additions and 2 deletions

View file

@ -17,7 +17,9 @@ enum {
foc_id = 1,
angl = 2,
vel = 3,
kp_id = 4
pid_p = 4,
pid_i,
pid_d
};
#define FLASH_RECORD_SIZE sizeof(FLASH_RECORD) //size flash struct