- Changes to sorting in measure() function
- Changes to Zener Voltage Correction / measure now returns value in volts - Changes to Motor control - Resistor values changed - Created BOM
This commit is contained in:
1 parent
57af1b67a4
commit
4d073dd7f7
8 files changed
+1376
-105
No files matched your search
@@ -8,11 +8,18 @@
|
||||
#include "shared.h"
|
||||
#define V_EMF_ADC_PIN_FORWARD 26
|
||||
#define V_EMF_ADC_PIN_REVERSE 27
|
||||
#define MEASURE_CORRECTION_THRESHOLD 2271
|
||||
void quicksort(uint16_t number[], int first, int last);
|
||||
uint calc_end_target();
|
||||
|
||||
#define MEASURE_CORRECTION_THRESHOLD 1695
|
||||
#define L1 0.001611328125f
|
||||
#define C0 26.18270299751651f
|
||||
#define C1 -0.04661614287233649f
|
||||
#define C2 3.29589342261872e-05f
|
||||
#define C3 -1.000062393830345e-08f
|
||||
#define C4 1.15408454807169e-12f
|
||||
|
||||
uint16_t calc_end_target();
|
||||
bool speed_helper();
|
||||
int measure();
|
||||
float measure();
|
||||
void init_pid();
|
||||
void init_pwm(uint gpio);
|
||||
void print_cv_array(const uint8_t *buf, size_t len);
|
||||
Reference in new issue
Block a user