Add the OFFSET command to the McopySerial library

This commit is contained in:
Matt McWilliams 2023-11-25 20:06:16 -05:00
parent 128a4d2ded
commit fcf24b5539
14 changed files with 15 additions and 8 deletions

View File

@ -1,5 +1,5 @@
{ {
"version": "1.8.75", "version": "1.8.76",
"ext_port": 1111, "ext_port": 1111,
"profiles": { "profiles": {
"mcopy": { "mcopy": {

2
app/package-lock.json generated
View File

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

View File

@ -1,6 +1,6 @@
{ {
"name": "mcopy-app", "name": "mcopy-app",
"version": "1.8.75", "version": "1.8.76",
"description": "GUI for the mcopy small gauge film optical printer platform", "description": "GUI for the mcopy small gauge film optical printer platform",
"main": "main.js", "main": "main.js",
"scripts": { "scripts": {

View File

@ -1,5 +1,5 @@
{ {
"version": "1.8.75", "version": "1.8.76",
"ext_port": 1111, "ext_port": 1111,
"profiles": { "profiles": {
"mcopy": { "mcopy": {

View File

@ -53,6 +53,7 @@ class McopySerial {
const char LIGHT = 'l'; const char LIGHT = 'l';
const char LIGHT_IDENTIFIER = 'o'; const char LIGHT_IDENTIFIER = 'o';
const char MCOPY_IDENTIFIER = 'm'; const char MCOPY_IDENTIFIER = 'm';
const char OFFSET = 'O';
const char PROJECTOR = 'p'; const char PROJECTOR = 'p';
const char PROJECTOR_BACKWARD = 'h'; const char PROJECTOR_BACKWARD = 'h';
const char PROJECTOR_CAMERA_IDENTIFIER = 's'; const char PROJECTOR_CAMERA_IDENTIFIER = 's';

View File

@ -53,6 +53,7 @@ class McopySerial {
const char LIGHT = 'l'; const char LIGHT = 'l';
const char LIGHT_IDENTIFIER = 'o'; const char LIGHT_IDENTIFIER = 'o';
const char MCOPY_IDENTIFIER = 'm'; const char MCOPY_IDENTIFIER = 'm';
const char OFFSET = 'O';
const char PROJECTOR = 'p'; const char PROJECTOR = 'p';
const char PROJECTOR_BACKWARD = 'h'; const char PROJECTOR_BACKWARD = 'h';
const char PROJECTOR_CAMERA_IDENTIFIER = 's'; const char PROJECTOR_CAMERA_IDENTIFIER = 's';

View File

@ -53,6 +53,7 @@ class McopySerial {
const char LIGHT = 'l'; const char LIGHT = 'l';
const char LIGHT_IDENTIFIER = 'o'; const char LIGHT_IDENTIFIER = 'o';
const char MCOPY_IDENTIFIER = 'm'; const char MCOPY_IDENTIFIER = 'm';
const char OFFSET = 'O';
const char PROJECTOR = 'p'; const char PROJECTOR = 'p';
const char PROJECTOR_BACKWARD = 'h'; const char PROJECTOR_BACKWARD = 'h';
const char PROJECTOR_CAMERA_IDENTIFIER = 's'; const char PROJECTOR_CAMERA_IDENTIFIER = 's';

View File

@ -53,6 +53,7 @@ class McopySerial {
const char LIGHT = 'l'; const char LIGHT = 'l';
const char LIGHT_IDENTIFIER = 'o'; const char LIGHT_IDENTIFIER = 'o';
const char MCOPY_IDENTIFIER = 'm'; const char MCOPY_IDENTIFIER = 'm';
const char OFFSET = 'O';
const char PROJECTOR = 'p'; const char PROJECTOR = 'p';
const char PROJECTOR_BACKWARD = 'h'; const char PROJECTOR_BACKWARD = 'h';
const char PROJECTOR_CAMERA_IDENTIFIER = 's'; const char PROJECTOR_CAMERA_IDENTIFIER = 's';

View File

@ -53,6 +53,7 @@ class McopySerial {
const char LIGHT = 'l'; const char LIGHT = 'l';
const char LIGHT_IDENTIFIER = 'o'; const char LIGHT_IDENTIFIER = 'o';
const char MCOPY_IDENTIFIER = 'm'; const char MCOPY_IDENTIFIER = 'm';
const char OFFSET = 'O';
const char PROJECTOR = 'p'; const char PROJECTOR = 'p';
const char PROJECTOR_BACKWARD = 'h'; const char PROJECTOR_BACKWARD = 'h';
const char PROJECTOR_CAMERA_IDENTIFIER = 's'; const char PROJECTOR_CAMERA_IDENTIFIER = 's';

View File

@ -53,6 +53,7 @@ class McopySerial {
const char LIGHT = 'l'; const char LIGHT = 'l';
const char LIGHT_IDENTIFIER = 'o'; const char LIGHT_IDENTIFIER = 'o';
const char MCOPY_IDENTIFIER = 'm'; const char MCOPY_IDENTIFIER = 'm';
const char OFFSET = 'O';
const char PROJECTOR = 'p'; const char PROJECTOR = 'p';
const char PROJECTOR_BACKWARD = 'h'; const char PROJECTOR_BACKWARD = 'h';
const char PROJECTOR_CAMERA_IDENTIFIER = 's'; const char PROJECTOR_CAMERA_IDENTIFIER = 's';

View File

@ -53,6 +53,7 @@ class McopySerial {
const char LIGHT = 'l'; const char LIGHT = 'l';
const char LIGHT_IDENTIFIER = 'o'; const char LIGHT_IDENTIFIER = 'o';
const char MCOPY_IDENTIFIER = 'm'; const char MCOPY_IDENTIFIER = 'm';
const char OFFSET = 'O';
const char PROJECTOR = 'p'; const char PROJECTOR = 'p';
const char PROJECTOR_BACKWARD = 'h'; const char PROJECTOR_BACKWARD = 'h';
const char PROJECTOR_CAMERA_IDENTIFIER = 's'; const char PROJECTOR_CAMERA_IDENTIFIER = 's';

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{ {
"name": "mcopy", "name": "mcopy",
"version": "1.8.75", "version": "1.8.76",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "mcopy", "name": "mcopy",
"version": "1.8.75", "version": "1.8.76",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"arduino": "file:app/lib/arduino", "arduino": "file:app/lib/arduino",

View File

@ -1,6 +1,6 @@
{ {
"name": "mcopy", "name": "mcopy",
"version": "1.8.75", "version": "1.8.76",
"description": "Small gauge film optical printer platform", "description": "Small gauge film optical printer platform",
"main": "build.js", "main": "build.js",
"directories": { "directories": {

View File

@ -1,5 +1,5 @@
{ {
"version": "1.8.75", "version": "1.8.76",
"ext_port": 1111, "ext_port": 1111,
"profiles": { "profiles": {
"mcopy": { "mcopy": {