0.2.1 HeartBeat

This commit is contained in:
rob tillaart 2021-12-19 12:08:01 +01:00
parent d15be3d8aa
commit 3373165355
7 changed files with 12 additions and 10 deletions

View File

@ -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"

View File

@ -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

View File

@ -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

View File

@ -82,7 +82,6 @@ See examples
## Future
- differentiate between ON / OFF time
- improve documentation
- add examples
-

View File

@ -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"
}

View File

@ -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.

View File

@ -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()
// --------