Use I to trigger projector.home()

This commit is contained in:
Matt McWilliams 2023-10-10 22:12:31 -04:00
parent 565d2ecceb
commit 24d6685047
8 changed files with 10 additions and 10 deletions

View File

@ -1,5 +1,5 @@
{
"version": "1.8.58",
"version": "1.8.59",
"ext_port": 1111,
"profiles": {
"mcopy": {

2
app/package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "mcopy-app",
"version": "1.8.58",
"version": "1.8.59",
"lockfileVersion": 2,
"requires": true,
"packages": {

View File

@ -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": {

View File

@ -1,5 +1,5 @@
{
"version": "1.8.58",
"version": "1.8.59",
"ext_port": 1111,
"profiles": {
"mcopy": {

View File

@ -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();
}
}

4
package-lock.json generated
View File

@ -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",

View File

@ -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": {

View File

@ -1,5 +1,5 @@
{
"version": "1.8.58",
"version": "1.8.59",
"ext_port": 1111,
"profiles": {
"mcopy": {