some more initialization code

This commit is contained in:
2014-11-03 17:18:30 +01:00
parent f506f9a2c2
commit 473eb035b1
3 changed files with 63 additions and 12 deletions

View File

@ -1,7 +1,22 @@
#include "Arduino.h"
#include <Streaming.h>
#include "ads1210.h"
ADS1210 ads1210;
void setup() {
Serial.begin(9600);
delay(1000);
pinMode(13, OUTPUT);
ads1210.begin(10);
}
void loop() {
@ -9,4 +24,6 @@ void loop() {
delay(1000); // wait for a second
digitalWrite(13, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait for a second
Serial << "Tick" << endl;
}