-
-
Save f0cus10/fdc865a0348024ae7b1b7a12bde82a93 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class HeartBeat { | |
public: | |
setHeartBeat(const unsigned int& heartRate); | |
getHeartBea() const; | |
getTime() const; | |
private: | |
int hr; | |
//stamp will overflow after 50 days | |
unsigned long stamp; | |
}; | |
//Will write a motor class for later |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment