Fix the dual projector script and add notes

This commit is contained in:
Matt McWilliams 2023-11-30 22:32:48 -05:00
parent b08f5094d5
commit 0f893d94c4
8 changed files with 15 additions and 10 deletions

View File

@ -1,5 +1,5 @@
{
"version": "1.8.80",
"version": "1.8.81",
"ext_port": 1111,
"profiles": {
"mcopy": {

2
app/package-lock.json generated
View File

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

View File

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

View File

@ -1,5 +1,5 @@
{
"version": "1.8.80",
"version": "1.8.81",
"ext_port": 1111,
"profiles": {
"mcopy": {

View File

@ -15,6 +15,10 @@
* - controls the directional relays of the primary projector.
* 07 - CH8 - 4 pronged trigger cable
* - triggers the primary projectory
*
* Pins - 4CH Sainsmart Solid State Relay Board
* 06 - CH1 - FWD PROJ2
* 05 - CH2 - FWD PROJ2
*/
boolean debug_state = false;
@ -30,7 +34,7 @@ const int proj_second_fwd_pin = 6;
const int proj_second_bwd_pin = 5;
const int proj_second_pin = 4;
const int proj_momentary = 60;
const int proj_momentary = 90;
const int proj_time = 950; //secondary projector speed
const int proj_delay = 42;
@ -58,7 +62,8 @@ const char cmd_debug = 'd';
const char cmd_connect = 'i';
volatile char cmd_char = 'z';
const char cmd_mcopy_identifier = 'm';
const char cmd_proj_identifier = 'd'; //dual projector identifier
const char cmd_proj_identifier = 'x'; //dual projector identifier
//const char cmd_proj_identifier = 'j'; //single projector identifier
const int serialDelay = 5;

4
package-lock.json generated
View File

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

View File

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

View File

@ -1,5 +1,5 @@
{
"version": "1.8.80",
"version": "1.8.81",
"ext_port": 1111,
"profiles": {
"mcopy": {