You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Gergely Nagy
26340b7edb
|
2 years ago | |
---|---|---|
.. | ||
src | 2 years ago | |
README.md | 2 years ago | |
library.properties | 2 years ago |
README.md
FirmwareVersion
Implements a new focus command - version - that simply prints the version set up at compile time.
Using the plugin
To use the plugin, first define the version to be printed, then include the header, and activate the plugin.
#define KALEIDOSCOPE_FIRMWARE_VERSION "0.1.2"
#include <Kaleidoscope.h>
#include <Kaleidoscope-FirmwareVersion.h>
#include <Kaleidoscope-FocusSerial.h>
KALEIDOSCOPE_INIT_PLUGINS(Focus,
FirmwareVersion);
void setup () {
Kaleidoscope.setup ();
}
Focus commands
The plugin provides a single Focus command: version
.
version
Prints the version configured at build time.