All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Removed spurious 'bFirstReport' from speed test code.
- Added a report when the cumulative average has been reset.
- Fix Arduino library lint issue in library.properties (only one category allowed).
- Bumped to 1.2 since there are some big jumps in speed test options.
- Added more comments on colour to the header.
- Added a cumulative average counter to the speed test, with the following function calls:
speedTest(const uint8_t reportEvery,
const char* extraText,
const bool bAverage,
const bool bAverageReset);
speedTest(const uint8_t reportEvery,
const char* extraText,
const char* moreExtraText,
const bool bAverage,
const bool bAverageReset);
- modified
speedtest(...)
to return a bool, reporting false, unless it performed a report. - Modified examples/debug_speedtest to account for the new variants.
- Added
void "speedTest(const uint8_t reportEvery, char * extraText);
andvoid "speedTest(const uint8_t reportEvery, char * extraText, char * moreExtraText);
so extra info can be printed each time the speed is displayed. Note these are strings only. - Removed the single quotes wrapping the greeting in
void progAnnounce(char *programmeName, char *greeting)
.
- fixing version information in library.properties and library.json.
- fixed conversion from 'SerialConfig' to 'uint8_t' (which should have been uint32_t).
- Commented out define assert(e), as far too likely to conflict with existing 'assert(e)', especially for the Esp32.
- Changed to <Arduino.h> rather than <arduino.h> in debug_multitask 'debug_multitask.ino' example.
- Changed to <Arduino.h> rather than <arduino.h> in debug_multitask 'debug_conditionals.cpp' example.
- Removed debug_assert macros from inside print colour which could cause stack overflow failures as they were self referring.
- Improved debug_multitask by adding Macros in the same style as the ones in debuggery.h
- Minor changes to keywords and library properties.
- Added library.json for platformIO.
- Bumped to try and solve lib reg issues over capital letter in lib name.
- Changed name from Debuggery to debuggery to attempt to address Arduino-lint issues.
- Removed a weird macro that somehow crept in to debuggery.h.
- Added debug_multitask example.
- Added void speedTest(const uint8_t reportEvery) which when inserted (once only) in a loop as the last item, will report the number of loops per second displaying every 'reportEvery' number of seconds.
- Added an 'upper case' version of DEBUG_ASSERT to make it obvious that this is a macro and part of Debuggery.
- Added ARDUINO_AVR_PROMICRO16 to "board_name.h" (used in platformio).
- removed the following functions as redundant, and for expressing two ideas in one call. Use a print or println, with a setcolour before the call.
- removed size_t print(char* text, uint8_t colour);
- removed size_t println(char* text, uint8_t colour);
- removed size_t print(const __FlashStringHelper* text, uint8_t colour);
- removed size_t println(const __FlashStringHelper* text, uint8_t colour);
- fixed regression from 1.0.4 'no matching function' in assert_macros.ino in examples.
- Added const to
void progAnnounce(const char* progName);
and overloads and associated functions. - Made SETCOLOUR and SETCOLOR macros variadic.
- Added manual changelog.
- Changed Macros to use KEYWORD3.
- Added floating point examples to debug_macros.ino.
- removed assets folder.
- Changed or added some comments.
- remove vscode workspace settings file.
- Removed unnecessary constructors.
- Initial release.