some fixes, strange zeros in between
This commit is contained in:
@ -21,7 +21,7 @@ void setup() {
|
||||
Serial.begin(9600);
|
||||
delay(1000);
|
||||
|
||||
led(LED_PIN);
|
||||
led.begin(LED_PIN);
|
||||
ads1210.begin(ADC_CS_PIN, ADC_RDY_PIN);
|
||||
}
|
||||
|
||||
@ -31,6 +31,6 @@ void loop() {
|
||||
if (secondTick.check() == 1) {
|
||||
led.toggle();
|
||||
|
||||
Serial << "AdcValue: " << adc1210.value << endl;
|
||||
Serial << "AdcValue: " << _HEX(ads1210.value) << endl;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user