Updated CV_ARRAY, added save to Flash function, changed various small things
This commit is contained in:
1 parent
072f380b1d
commit
df9a1848e4
4 files changed
+339
-72
No files matched your search
+15
-1
@@ -8,5 +8,19 @@
|
||||
(byte & 0x08 ? '1' : '0'), \
|
||||
(byte & 0x04 ? '1' : '0'), \
|
||||
(byte & 0x02 ? '1' : '0'), \
|
||||
(byte & 0x01 ? '1' : '0')
|
||||
(byte & 0x01 ? '1' : '0')
|
||||
#define SIZE_BYTE_ARRAY 5
|
||||
#define SIZE_ACTIVE_FUNCTIONS 69
|
||||
#define DCC_INPUT_PIN 17
|
||||
#define MOTOR_PWM_FORWARD 21
|
||||
#define MOTOR_PWM_REVERSE 22
|
||||
#define V_EMF_ADC_PIN 26
|
||||
#define N_MEASUREMENTS 50
|
||||
#define PACKAGE_3_BYTES 0b11111111110000000000000000000000000001
|
||||
#define PACKAGE_MASK_3_BYTES 0b11111111111000000001000000001000000001
|
||||
#define PACKAGE_4_BYTES 0b11111111110000000000000000000000000000000000001
|
||||
#define PACKAGE_MASK_4_BYTES 0b11111111111000000001000000001000000001000000001
|
||||
#define PACKAGE_5_BYTES 0b11111111110000000000000000000000000000000000000000000001
|
||||
#define PACKAGE_MASK_5_BYTES 0b11111111111000000001000000001000000001000000001000000001
|
||||
#define FLASH_TARGET_OFFSET (PICO_FLASH_SIZE_BYTES-FLASH_SECTOR_SIZE*2)
|
||||
void pid_control();
|
||||
Reference in new issue
Block a user