| 152 | } // namespace |
| 153 | |
| 154 | void init() |
| 155 | { |
| 156 | Serial.begin(SERIAL_BAUD_RATE); |
| 157 | Serial.systemDebugOutput(true); |
| 158 | |
| 159 | Serial << _F("Sample TM1637 application") << endl; |
| 160 | |
| 161 | #ifdef ARCH_HOST |
| 162 | setDigitalHooks(nullptr); |
| 163 | #endif |
| 164 | |
| 165 | stateTimer.initializeMs<TEST_DELAY>([]() { |
| 166 | if(!testDisplay()) { |
| 167 | stateTimer.startOnce(); |
| 168 | } |
| 169 | }); |
| 170 | stateTimer.startOnce(); |
| 171 | } |
nothing calls this directly
no test coverage detected