New board: CYD-E32R32P (#393)

This commit is contained in:
NellowTCS
2025-10-27 12:59:53 -06:00
committed by GitHub
parent 8115ca4fd9
commit 647678ff82
14 changed files with 297 additions and 2 deletions
@@ -0,0 +1,12 @@
#include "Power.h"
#include <ChargeFromAdcVoltage.h>
#include <EstimatedPower.h>
std::shared_ptr<tt::hal::power::PowerDevice> createPower() {
ChargeFromAdcVoltage::Configuration configuration;
// 2.0 ratio, but +.11 added as display voltage sag compensation.
configuration.adcMultiplier = 2.11;
return std::make_shared<EstimatedPower>(configuration);
}