 byte dsdata[9];
 
 #define LOCONET_TX_PIN 5
+
+#define POWER_VOLTAGE_PIN A2
 
 extern int __bss_start, __bss_end;
 

  //// default is 12 bit resolution, 750 ms conversion time
  return raw; // To be devided by 16;
}
void reportSlot(uint16_t slot, uint16_t state) {
  DEBUG("Reporting slot ");
  DEBUG(slot);

  pca.begin();
  pca.setPWMFreq(70);

#ifdef POWER_VOLTAGE_PIN
  pinMode(POWER_VOLTAGE_PIN, INPUT);
  Serial.print("Power voltage in mV: ");
  Serial.println(readPowerVoltage());
#endif
}

void loop() {
