Ignore:
Timestamp:
Sep 10, 2019, 11:19:19 AM (7 years ago)
Author:
markus
Message:

-SUB: Removed references/access to 'BUILDIN_LED' which isn't accessable with Ethernet shield

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Arduino/libraries/OT_Slave/OT_Slave.cpp

    r17 r18  
    4242  pinMode(THERMOSTAT_OUT, OUTPUT);      // low output = high current, high output = low current
    4343  cbAction = cb;
    44   digitalWrite(LED_BUILTIN, LOW);       // Built-in LED off
    45   pinMode(LED_BUILTIN, OUTPUT);
    4644}
    4745
    … …  
    166164  chEnable = enable;
    167165  chActive = enable;
    168   digitalWrite(LED_BUILTIN, IsActive() ? HIGH : LOW);   // Built-in LED on/off
    169166  return chEnable;
    170167}
    … …  
    174171  chEnable = false;
    175172  chActive = false;
    176   digitalWrite(LED_BUILTIN, IsActive() ? HIGH : LOW);   // Built-in LED on/off
    177173  return chEnable;
    178174}
    … …  
    187183  dhwEnable = enable;
    188184  dhwActive = enable;
    189   digitalWrite(LED_BUILTIN, IsActive() ? HIGH : LOW);   // Built-in LED on/off
    190185  return dhwEnable;
    191186}
    … …  
    195190  dhwEnable = false;
    196191  dhwActive = false;
    197   digitalWrite(LED_BUILTIN, IsActive() ? HIGH : LOW);   // Built-in LED on/off
    198192  return dhwEnable;
    199193}
Note: See TracChangeset for help on using the changeset viewer.