Fix the dual projector script and add notes
This commit is contained in:
parent
b08f5094d5
commit
0f893d94c4
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"version": "1.8.80",
|
"version": "1.8.81",
|
||||||
"ext_port": 1111,
|
"ext_port": 1111,
|
||||||
"profiles": {
|
"profiles": {
|
||||||
"mcopy": {
|
"mcopy": {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "mcopy-app",
|
"name": "mcopy-app",
|
||||||
"version": "1.8.80",
|
"version": "1.8.81",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "mcopy-app",
|
"name": "mcopy-app",
|
||||||
"version": "1.8.80",
|
"version": "1.8.81",
|
||||||
"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": {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"version": "1.8.80",
|
"version": "1.8.81",
|
||||||
"ext_port": 1111,
|
"ext_port": 1111,
|
||||||
"profiles": {
|
"profiles": {
|
||||||
"mcopy": {
|
"mcopy": {
|
||||||
|
|
|
@ -15,6 +15,10 @@
|
||||||
* - controls the directional relays of the primary projector.
|
* - controls the directional relays of the primary projector.
|
||||||
* 07 - CH8 - 4 pronged trigger cable
|
* 07 - CH8 - 4 pronged trigger cable
|
||||||
* - triggers the primary projectory
|
* - triggers the primary projectory
|
||||||
|
*
|
||||||
|
* Pins - 4CH Sainsmart Solid State Relay Board
|
||||||
|
* 06 - CH1 - FWD PROJ2
|
||||||
|
* 05 - CH2 - FWD PROJ2
|
||||||
*/
|
*/
|
||||||
|
|
||||||
boolean debug_state = false;
|
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_bwd_pin = 5;
|
||||||
const int proj_second_pin = 4;
|
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_time = 950; //secondary projector speed
|
||||||
const int proj_delay = 42;
|
const int proj_delay = 42;
|
||||||
|
|
||||||
|
@ -58,7 +62,8 @@ const char cmd_debug = 'd';
|
||||||
const char cmd_connect = 'i';
|
const char cmd_connect = 'i';
|
||||||
volatile char cmd_char = 'z';
|
volatile char cmd_char = 'z';
|
||||||
const char cmd_mcopy_identifier = 'm';
|
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;
|
const int serialDelay = 5;
|
||||||
|
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "mcopy",
|
"name": "mcopy",
|
||||||
"version": "1.8.80",
|
"version": "1.8.81",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "mcopy",
|
"name": "mcopy",
|
||||||
"version": "1.8.80",
|
"version": "1.8.81",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"arduino": "file:app/lib/arduino",
|
"arduino": "file:app/lib/arduino",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "mcopy",
|
"name": "mcopy",
|
||||||
"version": "1.8.80",
|
"version": "1.8.81",
|
||||||
"description": "Small gauge film optical printer platform",
|
"description": "Small gauge film optical printer platform",
|
||||||
"main": "build.js",
|
"main": "build.js",
|
||||||
"directories": {
|
"directories": {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"version": "1.8.80",
|
"version": "1.8.81",
|
||||||
"ext_port": 1111,
|
"ext_port": 1111,
|
||||||
"profiles": {
|
"profiles": {
|
||||||
"mcopy": {
|
"mcopy": {
|
||||||
|
|
Loading…
Reference in New Issue