Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: EthernetInterfacePlusHostname RdWebServer mbed-rtos mbed
Idler.h
00001 #ifndef IDLER__H 00002 #define IDLER__H 00003 00004 #include "mbed.h" 00005 #include "DrawingManager.h" 00006 00007 class Idler 00008 { 00009 public: 00010 Idler(DigitalOut* pStatusLed, DrawingManager* pDrawingManager); 00011 static void tick(); 00012 static void notIdle(); 00013 static void displayStep(); 00014 static void start(); 00015 00016 private: 00017 static DigitalOut* _pStatusLed; 00018 static bool _isRunning; 00019 static bool _isIdle; 00020 static unsigned int _stepCount; 00021 static DrawingManager* _pDrawingManager; 00022 static Ticker _idleTicker; 00023 static Timer _idleTimer; 00024 00025 }; 00026 00027 #endif
Generated on Wed Jul 13 2022 23:44:38 by
1.7.2