From c4456e458f38c79b2065eaf62227210cc90be426 Mon Sep 17 00:00:00 2001 From: mattmcw Date: Tue, 10 Oct 2023 21:16:49 -0400 Subject: [PATCH] Add "home" as command character "I". --- app/data/cfg.json | 5 +++-- app/package-lock.json | 2 +- app/package.json | 2 +- data/cfg.json | 5 +++-- ino/components/mcopy_light/McopySerial.h | 1 + ino/lib/McopySerial/McopySerial.h | 1 + ino/mcopy_JKMM100/McopySerial.h | 1 + ino/mcopy_arri_s_firmware/McopySerial.h | 1 + ino/mcopy_cam_canon_ble_nano/McopySerial.h | 1 + ino/mcopy_cam_relay/McopySerial.h | 1 + ino/mcopy_projector_firmware/McopySerial.h | 1 + package-lock.json | 4 ++-- package.json | 2 +- processing/mcopy/cfg.json | 5 +++-- 14 files changed, 21 insertions(+), 11 deletions(-) diff --git a/app/data/cfg.json b/app/data/cfg.json index 76ea533..0f6bb6b 100644 --- a/app/data/cfg.json +++ b/app/data/cfg.json @@ -1,5 +1,5 @@ { - "version": "1.8.56", + "version": "1.8.57", "ext_port": 1111, "profiles": { "mcopy": { @@ -189,7 +189,8 @@ "takeup_backward": "F", "error": "E", "camera_exposure": "G", - "state": "H" + "state": "H", + "home": "I" } } } diff --git a/app/package-lock.json b/app/package-lock.json index 2958827..485b84a 100644 --- a/app/package-lock.json +++ b/app/package-lock.json @@ -1,6 +1,6 @@ { "name": "mcopy-app", - "version": "1.8.56", + "version": "1.8.57", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/app/package.json b/app/package.json index 5e9d2b0..00bfaf3 100644 --- a/app/package.json +++ b/app/package.json @@ -1,6 +1,6 @@ { "name": "mcopy-app", - "version": "1.8.56", + "version": "1.8.57", "description": "GUI for the mcopy small gauge film optical printer platform", "main": "main.js", "scripts": { diff --git a/data/cfg.json b/data/cfg.json index 76ea533..0f6bb6b 100644 --- a/data/cfg.json +++ b/data/cfg.json @@ -1,5 +1,5 @@ { - "version": "1.8.56", + "version": "1.8.57", "ext_port": 1111, "profiles": { "mcopy": { @@ -189,7 +189,8 @@ "takeup_backward": "F", "error": "E", "camera_exposure": "G", - "state": "H" + "state": "H", + "home": "I" } } } diff --git a/ino/components/mcopy_light/McopySerial.h b/ino/components/mcopy_light/McopySerial.h index d0bd111..3977d4f 100644 --- a/ino/components/mcopy_light/McopySerial.h +++ b/ino/components/mcopy_light/McopySerial.h @@ -49,6 +49,7 @@ class McopySerial { const char CONNECT = 'i'; const char DEBUG = 'd'; const char ERROR = 'E'; + const char HOME = 'I'; const char LIGHT = 'l'; const char LIGHT_IDENTIFIER = 'o'; const char MCOPY_IDENTIFIER = 'm'; diff --git a/ino/lib/McopySerial/McopySerial.h b/ino/lib/McopySerial/McopySerial.h index d0bd111..3977d4f 100644 --- a/ino/lib/McopySerial/McopySerial.h +++ b/ino/lib/McopySerial/McopySerial.h @@ -49,6 +49,7 @@ class McopySerial { const char CONNECT = 'i'; const char DEBUG = 'd'; const char ERROR = 'E'; + const char HOME = 'I'; const char LIGHT = 'l'; const char LIGHT_IDENTIFIER = 'o'; const char MCOPY_IDENTIFIER = 'm'; diff --git a/ino/mcopy_JKMM100/McopySerial.h b/ino/mcopy_JKMM100/McopySerial.h index d0bd111..3977d4f 100644 --- a/ino/mcopy_JKMM100/McopySerial.h +++ b/ino/mcopy_JKMM100/McopySerial.h @@ -49,6 +49,7 @@ class McopySerial { const char CONNECT = 'i'; const char DEBUG = 'd'; const char ERROR = 'E'; + const char HOME = 'I'; const char LIGHT = 'l'; const char LIGHT_IDENTIFIER = 'o'; const char MCOPY_IDENTIFIER = 'm'; diff --git a/ino/mcopy_arri_s_firmware/McopySerial.h b/ino/mcopy_arri_s_firmware/McopySerial.h index d0bd111..3977d4f 100644 --- a/ino/mcopy_arri_s_firmware/McopySerial.h +++ b/ino/mcopy_arri_s_firmware/McopySerial.h @@ -49,6 +49,7 @@ class McopySerial { const char CONNECT = 'i'; const char DEBUG = 'd'; const char ERROR = 'E'; + const char HOME = 'I'; const char LIGHT = 'l'; const char LIGHT_IDENTIFIER = 'o'; const char MCOPY_IDENTIFIER = 'm'; diff --git a/ino/mcopy_cam_canon_ble_nano/McopySerial.h b/ino/mcopy_cam_canon_ble_nano/McopySerial.h index d0bd111..3977d4f 100644 --- a/ino/mcopy_cam_canon_ble_nano/McopySerial.h +++ b/ino/mcopy_cam_canon_ble_nano/McopySerial.h @@ -49,6 +49,7 @@ class McopySerial { const char CONNECT = 'i'; const char DEBUG = 'd'; const char ERROR = 'E'; + const char HOME = 'I'; const char LIGHT = 'l'; const char LIGHT_IDENTIFIER = 'o'; const char MCOPY_IDENTIFIER = 'm'; diff --git a/ino/mcopy_cam_relay/McopySerial.h b/ino/mcopy_cam_relay/McopySerial.h index d0bd111..3977d4f 100644 --- a/ino/mcopy_cam_relay/McopySerial.h +++ b/ino/mcopy_cam_relay/McopySerial.h @@ -49,6 +49,7 @@ class McopySerial { const char CONNECT = 'i'; const char DEBUG = 'd'; const char ERROR = 'E'; + const char HOME = 'I'; const char LIGHT = 'l'; const char LIGHT_IDENTIFIER = 'o'; const char MCOPY_IDENTIFIER = 'm'; diff --git a/ino/mcopy_projector_firmware/McopySerial.h b/ino/mcopy_projector_firmware/McopySerial.h index d0bd111..3977d4f 100644 --- a/ino/mcopy_projector_firmware/McopySerial.h +++ b/ino/mcopy_projector_firmware/McopySerial.h @@ -49,6 +49,7 @@ class McopySerial { const char CONNECT = 'i'; const char DEBUG = 'd'; const char ERROR = 'E'; + const char HOME = 'I'; const char LIGHT = 'l'; const char LIGHT_IDENTIFIER = 'o'; const char MCOPY_IDENTIFIER = 'm'; diff --git a/package-lock.json b/package-lock.json index 3b712e4..04839dd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "mcopy", - "version": "1.8.56", + "version": "1.8.57", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "mcopy", - "version": "1.8.56", + "version": "1.8.57", "license": "MIT", "dependencies": { "arduino": "file:app/lib/arduino", diff --git a/package.json b/package.json index e4f80ee..d500a3d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mcopy", - "version": "1.8.56", + "version": "1.8.57", "description": "Small gauge film optical printer platform", "main": "build.js", "directories": { diff --git a/processing/mcopy/cfg.json b/processing/mcopy/cfg.json index 76ea533..0f6bb6b 100644 --- a/processing/mcopy/cfg.json +++ b/processing/mcopy/cfg.json @@ -1,5 +1,5 @@ { - "version": "1.8.56", + "version": "1.8.57", "ext_port": 1111, "profiles": { "mcopy": { @@ -189,7 +189,8 @@ "takeup_backward": "F", "error": "E", "camera_exposure": "G", - "state": "H" + "state": "H", + "home": "I" } } }