partly works

This commit is contained in:
hg
2014-11-05 08:19:27 +01:00
parent c138ad2e3c
commit c250106f08
2 changed files with 8 additions and 7 deletions

View File

@ -13,16 +13,16 @@ void setup() {
Serial.begin(9600);
delay(1000);
pinMode(13, OUTPUT);
pinMode(8, OUTPUT);
ads1210.begin(9, 8);
ads1210.begin(9, 7);
}
void loop() {
digitalWrite(13, HIGH); // turn the LED on (HIGH is the voltage level)
digitalWrite(8, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second
digitalWrite(13, LOW); // turn the LED off by making the voltage LOW
digitalWrite(8, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait for a second
uint32_t adcValue = ads1210.get();