16 lines
754 B
C
16 lines
754 B
C
//Setup file for main sketch
|
|
|
|
const float shunt_resistance = -1; //resistance of current shunt
|
|
const float voltage_divider = -1; //voltage division
|
|
const char mcu_model[] ={"RP2040-Zero"};//currently unused, might be useful later
|
|
|
|
#define VOLTAGE_PIN -1 //adc pin for voltage
|
|
#define CURRENT_PIN -1 //adc pin for current shunt
|
|
|
|
//i2c pins
|
|
#define I2C_SDA 28
|
|
#define I2C_SCL 29
|
|
|
|
const bool use_7seggchan = true ; //pls use him he did nothing wrong [pleading face]
|
|
const bool use_default_fonts = false ; //use custom fonts or default fonts (custom fonts reccomended, set to true and dont include fonts if memory usage is too high)
|
|
const bool use_bitmaps = true;//use bitmaps (reccomended, set to false and dont include images.h if memory usage is too high)
|