Update rp2040-zero/setup.h

This commit is contained in:
2026-08-27 18:31:29 +02:00
parent ade1c83ff0
commit 9d185c3d54
+6 -3
View File
@@ -1,7 +1,7 @@
//Setup file for main sketch
const float shunt_resistance = -1; //resistance of current shunt in milliohms
const float voltage_divider = 2;
const float shunt_resistance = 50; //resistance of current shunt in milliohms
const float voltage_divider = 2;//by what does the voltage get divided
const char mcu_model[] ={"RP2040-Zero"};//currently unused, might be useful later
const int default_usbscore = -1;
@@ -15,4 +15,7 @@ const int default_usbscore = -1;
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)
const bool use_usbscore = true; //(doesnt work if 7segg-chan is set to false)calculates usb score (value from 0-9) and prints it in 7segg-chan font to determine quality (reccomended)
const bool use_usbscore = true; //(doesnt work if 7segg-chan is set to false)calculates usb score (value from 0-9) and prints it in 7segg-chan font to determine quality (reccomended)
const bool draw_splash = true; //use splash screen, included in images.h
const bool use_version_splash = true; //use version-specific splash screen, also included in images.h
const unsigned long splash_time = 1000;