| 29 | #include "openhd_util.h" |
| 30 | |
| 31 | int main(int argc, char *argv[]) { |
| 32 | while (true) { |
| 33 | std::cout << "Set LEDs off" << std::endl; |
| 34 | openhd::LEDManager::instance().set_red_led_status( |
| 35 | openhd::LEDManager::STATUS_OFF); |
| 36 | openhd::LEDManager::instance().set_green_led_status( |
| 37 | openhd::LEDManager::STATUS_OFF); |
| 38 | std::this_thread::sleep_for(std::chrono::seconds(3)); |
| 39 | std::cout << "Set LEDs ON" << std::endl; |
| 40 | openhd::LEDManager::instance().set_red_led_status( |
| 41 | openhd::LEDManager::STATUS_ON); |
| 42 | openhd::LEDManager::instance().set_green_led_status( |
| 43 | openhd::LEDManager::STATUS_ON); |
| 44 | |
| 45 | std::this_thread::sleep_for(std::chrono::seconds(3)); |
| 46 | } |
| 47 | } |
nothing calls this directly
no outgoing calls
no test coverage detected