mirror of
https://github.com/Ralim/IronOS.git
synced 2025-02-26 07:53:55 +00:00
Update to prod model
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
#include "bl702_adc.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_ADC_CHANNEL ADC_CHAN10
|
||||
#define TIP_TEMP_Pin GPIO_PIN_19
|
||||
@@ -22,7 +22,7 @@
|
||||
#define VIN_Pin GPIO_PIN_18
|
||||
#define VIN_ADC_CHANNEL ADC_CHAN8
|
||||
#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_Channel PWM_CH1
|
||||
#define SCL_Pin GPIO_PIN_11
|
||||
|
||||
@@ -104,7 +104,7 @@
|
||||
#define ANIMATION_LOOP 1 // 0: off 1: on
|
||||
#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_GAIN_STAGE_PINECIL (1 + (OP_AMP_Rf_Pinecil / OP_AMP_Rin_Pinecil))
|
||||
|
||||
Reference in New Issue
Block a user