Make a sample script for analyzing the array during homing step.

This commit is contained in:
Matt McWilliams 2023-10-09 20:52:18 -04:00
parent c8e5f7b742
commit 6e7c226c57
10 changed files with 227 additions and 209 deletions

2
.gitignore vendored
View File

@ -8,3 +8,5 @@ dist
*.svd
*debug_custom.json
*debug.cfg
notes/mphd

View File

@ -1,5 +1,5 @@
{
"version": "1.8.52",
"version": "1.8.53",
"ext_port": 1111,
"profiles": {
"mcopy": {

2
app/package-lock.json generated
View File

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

View File

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

View File

@ -1,5 +1,5 @@
{
"version": "1.8.52",
"version": "1.8.53",
"ext_port": 1111,
"profiles": {
"mcopy": {

View File

@ -0,0 +1,16 @@
//g++ -o mphd mcopy_projector_homing_debug.cpp
#include <iostream>
#include <sstream>
#include <string>
#include <fstream>
using namespace std;
int main() {
ifstream input("mcopy_projector_homing_debug.csv");
for ( string line; getline( input, line ); )
{
cout << line << endl;
}
return 0;
}

4
package-lock.json generated
View File

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

View File

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

View File

@ -1,5 +1,5 @@
{
"version": "1.8.52",
"version": "1.8.53",
"ext_port": 1111,
"profiles": {
"mcopy": {