config stuff

This commit is contained in:
Wolfgang Hottgenroth
2014-11-15 23:42:31 +01:00
parent c687aff175
commit ca26284cf2
5 changed files with 102 additions and 6 deletions

View File

@ -5,6 +5,7 @@
#include "ads1210.h"
#include "led.h"
#include "SimpleModbusSlave.h"
#include "Config.h"
const uint8_t LED_PIN = 8;
@ -61,6 +62,7 @@ struct {
void setup() {
delay(100);
Config::initialize();
led.begin(LED_PIN);
ads1210_1.begin(ADC_1_CS_PIN, ADC_1_RDY_PIN);
ads1210_2.begin(ADC_2_CS_PIN, ADC_2_RDY_PIN);