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.
Kaleidoscope/plugins/Kaleidoscope-FirmwareVersion
Gergely Nagy 26340b7edb
Rename the `command` arg of `onFocusEvent` to `input`
2 years ago
..
src Rename the `command` arg of `onFocusEvent` to `input` 2 years ago
README.md New plugin: FirmwareVersion 3 years ago
library.properties New plugin: FirmwareVersion 3 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.

Dependencies