Update to prod model

This commit is contained in:
Ben V. Brown
2022-05-23 18:17:04 +10:00
parent 289f770f95
commit 2f54bc5889
2 changed files with 3 additions and 3 deletions

View File

@@ -10,7 +10,7 @@
#include "bl702_adc.h" #include "bl702_adc.h"
#include "hal_gpio.h" #include "hal_gpio.h"
#define KEY_B_Pin GPIO_PIN_25 #define KEY_B_Pin GPIO_PIN_28
#define TMP36_INPUT_Pin GPIO_PIN_20 #define TMP36_INPUT_Pin GPIO_PIN_20
#define TMP36_ADC_CHANNEL ADC_CHAN10 #define TMP36_ADC_CHANNEL ADC_CHAN10
#define TIP_TEMP_Pin GPIO_PIN_19 #define TIP_TEMP_Pin GPIO_PIN_19
@@ -22,7 +22,7 @@
#define VIN_Pin GPIO_PIN_18 #define VIN_Pin GPIO_PIN_18
#define VIN_ADC_CHANNEL ADC_CHAN8 #define VIN_ADC_CHANNEL ADC_CHAN8
#define OLED_RESET_Pin GPIO_PIN_3 #define OLED_RESET_Pin GPIO_PIN_3
#define KEY_A_Pin GPIO_PIN_28 #define KEY_A_Pin GPIO_PIN_25
#define PWM_Out_Pin GPIO_PIN_21 #define PWM_Out_Pin GPIO_PIN_21
#define PWM_Channel PWM_CH1 #define PWM_Channel PWM_CH1
#define SCL_Pin GPIO_PIN_11 #define SCL_Pin GPIO_PIN_11

View File

@@ -104,7 +104,7 @@
#define ANIMATION_LOOP 1 // 0: off 1: on #define ANIMATION_LOOP 1 // 0: off 1: on
#define ANIMATION_SPEED settingOffSpeed_t::MEDIUM #define ANIMATION_SPEED settingOffSpeed_t::MEDIUM
#define OP_AMP_Rf_Pinecil 750 * 1000 // 750 Kilo-ohms -> From schematic, R1 #define OP_AMP_Rf_Pinecil 850 * 1000 // 750 Kilo-ohms -> From schematic, R1
#define OP_AMP_Rin_Pinecil 2370 // 2.37 Kilo-ohms -> From schematic, R2 #define OP_AMP_Rin_Pinecil 2370 // 2.37 Kilo-ohms -> From schematic, R2
#define OP_AMP_GAIN_STAGE_PINECIL (1 + (OP_AMP_Rf_Pinecil / OP_AMP_Rin_Pinecil)) #define OP_AMP_GAIN_STAGE_PINECIL (1 + (OP_AMP_Rf_Pinecil / OP_AMP_Rin_Pinecil))