mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-05 02:39:57 +02:00
Added a test, new structure
This commit is contained in:
parent
1d09dacccb
commit
aca520c506
10 changed files with 66 additions and 23 deletions
|
@ -1,7 +1,9 @@
|
|||
#ifndef __MYTIMER_H__
|
||||
#define __MYTIMER_H__
|
||||
|
||||
#ifndef UNIT_TEST
|
||||
#include <Arduino.h>
|
||||
#endif
|
||||
|
||||
class MyTimer {
|
||||
public:
|
||||
|
@ -12,7 +14,7 @@ class MyTimer {
|
|||
|
||||
private:
|
||||
unsigned long interval;
|
||||
unsigned long previousMillis;
|
||||
unsigned long previous_millis;
|
||||
};
|
||||
|
||||
#endif // __MYTIMER_H__
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue