Revert "update library, CT now compiles"

This reverts commit 89aac84cf8.
This commit is contained in:
reaw55 2024-03-09 16:21:25 +07:00
parent 2cbd94bd17
commit 9a0c4ab58f
3 changed files with 3 additions and 3 deletions

View file

@ -59,7 +59,7 @@ ClimateCard climateCard_york = ClimateCard(AIR_CONDITIONER_IR_PIN, ac_york,
AIR_CONDITIONER_SENSOR_TYPE, AIR_CONDITIONER_SENSOR_PIN,
AIR_CONDITIONER_RMT_CHANNEL);
float adcToCurrent(uint16_t adc_value)
void adc2current(uint16_t adc_value)
{
// 16 bit ADC value to current in amps
// ADC Range is 0-65535, It have an input range of 0-3.3V