Updated cold junction temp curve

* Disabled the hack off on temp as we dont need it for MHP30
* faster ADC on MHP30
This commit is contained in:
Ben V. Brown
2021-05-02 15:45:45 +10:00
parent 018b984665
commit 7a5c0ad20f
9 changed files with 191 additions and 33 deletions

View File

@@ -10,8 +10,6 @@
#include "FreeRTOSConfig.h"
enum Orientation { ORIENTATION_LEFT_HAND = 0, ORIENTATION_RIGHT_HAND = 1, ORIENTATION_FLAT = 3 };
// It is assumed that all hardware implements an 8Hz update period at this time
#define PID_TIM_HZ (8)
#define TICKS_SECOND configTICK_RATE_HZ
#define TICKS_MIN (60 * TICKS_SECOND)
#define TICKS_100MS (TICKS_SECOND / 10)