yotaro morizumi
/
zoomy_customLibrary
my new gear...
nap.hpp
- Committer:
- yootee
- Date:
- 2022-02-25
- Revision:
- 0:1456b6f84c75
File content as of revision 0:1456b6f84c75:
#pragma once #include <mbed.h> class NAP { public: NAP(float nap_time); void take_a_nap(); void setNaptime(float nap_time); void restart(); Timer nap; private: float nap_time_; float now_time; float prev_time; };