We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91b4984 commit 9198beeCopy full SHA for 9198bee
src/components/analogIO/Wippersnapper_AnalogIO.cpp
@@ -211,13 +211,8 @@ void Wippersnapper_AnalogIO::deinitAnalogPin(
211
uint16_t Wippersnapper_AnalogIO::getPinValue(int pin) {
212
// get pin value
213
uint16_t value = analogRead(pin);
214
- WS_DEBUG_PRINT("Analog Pin (#");
215
- WS_DEBUG_PRINT(pin);
216
- WS_DEBUG_PRINT(") read: ");
217
- WS_DEBUG_PRINTLN(value);
218
// scale by the ADC resolution manually if not implemented by BSP
219
if (scaleAnalogRead) {
220
- WS_DEBUG_PRINTLN("Scaling analog read value...");
221
if (getADCresolution() > getNativeResolution()) {
222
value = value << (getADCresolution() - getNativeResolution());
223
} else {
0 commit comments