diff --git a/slave/slave/lib/inputOutput.c b/slave/slave/lib/inputOutput.c --- a/slave/slave/lib/inputOutput.c +++ b/slave/slave/lib/inputOutput.c @@ -43,7 +43,7 @@ int8_t moduleID; // Slave Module ID from void io_readModuleId() { // Get ID from rotary dip and return it. - moduleID = 0; + moduleID = 1; /* // This method is temporary as the next release will read the module ID from EEPROM diff --git a/slave/slave/modules.c b/slave/slave/modules.c --- a/slave/slave/modules.c +++ b/slave/slave/modules.c @@ -90,14 +90,14 @@ void modules_geiger_setup() { // Pin setup - DDRA &= ~(1 << DDA0); // PA0 is an input + //DDRA &= ~(1 << DDA0); // PA0 is an input //DDRA |= (1 << DDA1); // PA1 is an output /////////// //geiger_on(); // Turn on HV supply ////////////// // Setup for interrupt input on PA0 (PCINT0) - PCMSK0 |= (1 << PCINT0); // Enable interrupt for PA0 - PCICR |= (1 << PCIE0); // Enable ioc section PCIF0 + //PCMSK0 |= (1 << PCINT0); // Enable interrupt for PA0 + //PCICR |= (1 << PCIE0); // Enable ioc section PCIF0 // Setup for interrupt from Timer2 ASSR &= ~(1 << EXCLK); // Disable external clock input (enabling crystal use) @@ -135,7 +135,7 @@ sensors_readSpiTemp(); //Data Read sensors_readPressure(); //Data Read //sensors_readHumid(); //Data Read - sensors_readLux(); //Data Read + //sensors_readLux(); //Data Read }