Searched refs:MAX_VOLTAGE (Results 1 – 1 of 1) sorted by relevance
38 static constexpr int MAX_VOLTAGE = 3596; variable77 std::lround((amplitude - 1) / 254.0 * (MAX_VOLTAGE - MIN_VOLTAGE) + MIN_VOLTAGE); in setAmplitude()