some fixes, strange zeros in between

This commit is contained in:
hg
2014-11-05 19:19:20 +01:00
parent d16530898e
commit ed17033c78
4 changed files with 14 additions and 26 deletions

View File

@ -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;
}
}