mirror of
https://github.com/RobTillaart/Arduino.git
synced 2024-10-03 18:09:02 -04:00
0.2.1 HeartBeat
This commit is contained in:
parent
d15be3d8aa
commit
3373165355
@ -1,7 +1,7 @@
|
||||
//
|
||||
// FILE: HeartBeat.cpp
|
||||
// AUTHOR: Rob Tillaart
|
||||
// VERSION: 0.2.0
|
||||
// VERSION: 0.2.1
|
||||
// PURPOSE: Arduino library for HeartBeat with frequency and dutyCycle
|
||||
// DATE: 2019-06-12
|
||||
// URL: https://github.com/RobTillaart/HeartBeat
|
||||
@ -16,6 +16,8 @@
|
||||
// add getFrequency(), getDutyCycle();
|
||||
// add getState().
|
||||
// removed set()
|
||||
// 0.2.1 2021-12-18 update library.json, license, minor edits
|
||||
|
||||
|
||||
|
||||
#include "HeartBeat.h"
|
||||
|
@ -2,7 +2,7 @@
|
||||
//
|
||||
// FILE: HeartBeat.h
|
||||
// AUTHOR: Rob Tillaart
|
||||
// VERSION: 0.2.0
|
||||
// VERSION: 0.2.1
|
||||
// PURPOSE: Arduino library for HeartBeat with frequency and dutyCycle
|
||||
// DATE: 2019-06-12
|
||||
// URL: https://github.com/RobTillaart/HeartBeat
|
||||
@ -10,7 +10,7 @@
|
||||
|
||||
#include "Arduino.h"
|
||||
|
||||
#define HEARTBEAT_LIB_VERSION (F("0.2.0"))
|
||||
#define HEARTBEAT_LIB_VERSION (F("0.2.1"))
|
||||
|
||||
|
||||
class HeartBeat
|
||||
|
@ -1,6 +1,6 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2019-2021 Rob Tillaart
|
||||
Copyright (c) 2019-2022 Rob Tillaart
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
|
@ -82,7 +82,6 @@ See examples
|
||||
|
||||
## Future
|
||||
|
||||
- differentiate between ON / OFF time
|
||||
- improve documentation
|
||||
- add examples
|
||||
-
|
||||
|
@ -15,8 +15,9 @@
|
||||
"type": "git",
|
||||
"url": "https://github.com/RobTillaart/HeartBeat.git"
|
||||
},
|
||||
"version": "0.2.0",
|
||||
"version": "0.2.1",
|
||||
"license": "MIT",
|
||||
"frameworks": "arduino",
|
||||
"platforms": "*"
|
||||
"platforms": "*",
|
||||
"headers": "HeartBeat.h"
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
name=HeartBeat
|
||||
version=0.2.0
|
||||
version=0.2.1
|
||||
author=Rob Tillaart <rob.tillaart@gmail.com>
|
||||
maintainer=Rob Tillaart <rob.tillaart@gmail.com>
|
||||
sentence=Arduino library for HeartBeat with frequency and duty cycle.
|
||||
|
@ -39,6 +39,7 @@
|
||||
|
||||
unittest_setup()
|
||||
{
|
||||
fprintf(stderr, "VERSION: %s\n", (char *) HEARTBEAT_LIB_VERSION );
|
||||
}
|
||||
|
||||
|
||||
@ -49,8 +50,6 @@ unittest_teardown()
|
||||
|
||||
unittest(test_constructor)
|
||||
{
|
||||
fprintf(stderr, "VERSION: %s\n", (char *) HEARTBEAT_LIB_VERSION );
|
||||
|
||||
GodmodeState* state = GODMODE();
|
||||
state->reset();
|
||||
|
||||
@ -105,6 +104,7 @@ unittest(test_dutycycle)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
unittest_main()
|
||||
|
||||
// --------
|
||||
|
Loading…
Reference in New Issue
Block a user