 void loop()
 {
   TemperatureSensor* sensor;
-  for(unsigned int c = 0; c < SENSOR_COUNT; c++) {
+  for(uint32_t c = 0; c < SENSOR_COUNT; c++) {
     sensor = &sensors[c];
     if(millis() > sensor->publisher_timer) {
       switch(sensor->type) {

} OneWireData;

typedef struct temperature_sensor {
  unsigned int id;
  float prev_temp;
  float curr_temp;
  unsigned int type;
  unsigned int pin_addr;
  unsigned int sample_rate;
  unsigned int sample_count;
  unsigned long publisher_timer;
  OneWireData* one_wire_data;
} TemperatureSensor;

{  
  nh.initNode();
  nh.advertise(pub_temp);
  nh.advertise(pub_count);
  nh.subscribe(sub_temp);
  nh.subscribe(sub_count);
  
  uint32_t sensor_count = 0;
  // Create analog temperature sensor
  TemperatureSensor analog_sensor;
  create_sensor(sensor_count, ANALOG_PIN, TYPE_ANALOG, &analog_sensor);
