From 24d6685047a3324788e7692ad6864cedb605caa9 Mon Sep 17 00:00:00 2001 From: mattmcw Date: Tue, 10 Oct 2023 22:12:31 -0400 Subject: [PATCH] Use I to trigger projector.home() --- app/data/cfg.json | 2 +- app/package-lock.json | 2 +- app/package.json | 2 +- data/cfg.json | 2 +- ino/mcopy_projector_firmware/mcopy_projector_firmware.ino | 4 ++-- package-lock.json | 4 ++-- package.json | 2 +- processing/mcopy/cfg.json | 2 +- 8 files changed, 10 insertions(+), 10 deletions(-) diff --git a/app/data/cfg.json b/app/data/cfg.json index 5f3170c..e987ee0 100644 --- a/app/data/cfg.json +++ b/app/data/cfg.json @@ -1,5 +1,5 @@ { - "version": "1.8.58", + "version": "1.8.59", "ext_port": 1111, "profiles": { "mcopy": { diff --git a/app/package-lock.json b/app/package-lock.json index 134c041..c87f9da 100644 --- a/app/package-lock.json +++ b/app/package-lock.json @@ -1,6 +1,6 @@ { "name": "mcopy-app", - "version": "1.8.58", + "version": "1.8.59", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/app/package.json b/app/package.json index f37ab89..fdea9c9 100644 --- a/app/package.json +++ b/app/package.json @@ -1,6 +1,6 @@ { "name": "mcopy-app", - "version": "1.8.58", + "version": "1.8.59", "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 5f3170c..e987ee0 100644 --- a/data/cfg.json +++ b/data/cfg.json @@ -1,5 +1,5 @@ { - "version": "1.8.58", + "version": "1.8.59", "ext_port": 1111, "profiles": { "mcopy": { diff --git a/ino/mcopy_projector_firmware/mcopy_projector_firmware.ino b/ino/mcopy_projector_firmware/mcopy_projector_firmware.ino index 4254deb..a72d163 100644 --- a/ino/mcopy_projector_firmware/mcopy_projector_firmware.ino +++ b/ino/mcopy_projector_firmware/mcopy_projector_firmware.ino @@ -78,8 +78,6 @@ void setup () { delay(42); digitalWrite(LED_FWD, LOW); digitalWrite(LED_BWD, LOW); - - //projector.home(); } void loop () { @@ -110,6 +108,8 @@ void cmd (char val) { projector_frame(); } else if (val == mcopy.STATE) { state(); + } else if (val == mcopy.HOME) { + projector.home(); } } diff --git a/package-lock.json b/package-lock.json index 4415883..d2572e2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "mcopy", - "version": "1.8.58", + "version": "1.8.59", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "mcopy", - "version": "1.8.58", + "version": "1.8.59", "license": "MIT", "dependencies": { "arduino": "file:app/lib/arduino", diff --git a/package.json b/package.json index 75d8600..32d810b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mcopy", - "version": "1.8.58", + "version": "1.8.59", "description": "Small gauge film optical printer platform", "main": "build.js", "directories": { diff --git a/processing/mcopy/cfg.json b/processing/mcopy/cfg.json index 5f3170c..e987ee0 100644 --- a/processing/mcopy/cfg.json +++ b/processing/mcopy/cfg.json @@ -1,5 +1,5 @@ { - "version": "1.8.58", + "version": "1.8.59", "ext_port": 1111, "profiles": { "mcopy": {