Update xsns_12_ads1115.ino

This commit is contained in:
FransOv 2022-02-28 10:30:10 +01:00 committed by GitHub
parent 18978b7e16
commit 12676d4184
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -323,7 +323,7 @@ bool ADS1115_Command(void)
Ads1115.range = ADS1115_REG_CONFIG_PGA_0_256V;
}
}
Response_P("ADS1115 %c%u => mode: %s, range: %u mV",ds[(Ads1115.channels>>1)-1][0],Ads1115.range>>9,ds[(Ads1115.channels>>1)-1],r[Ads1115.range>>9]);
Response_P("{\"ADS1115\":{\"Settings\":\"%c%u\",\"Mode\":\"%s\",\"Range\":%u,\"Unit\":\"mV\"}}",ds[(Ads1115.channels>>1)-1][0],Ads1115.range>>9,ds[(Ads1115.channels>>1)-1],r[Ads1115.range>>9]);
return true;
}