work on laptop

This commit is contained in:
mmcwilliams 2024-05-08 16:07:36 -04:00
parent 566f1ecefd
commit 332e6e8f89
2 changed files with 7 additions and 10 deletions

View File

@ -66,9 +66,6 @@ void actionDisplay () {
completed = false;
timing = true;
startTime = steady_clock::now();
while (!completed) {
//
}
} // multi channel case
}

View File

@ -31,15 +31,11 @@ client.connect(serverPort, serverAddress, async () => {
await delay(2000);
data.action = 2;
delete data.position
data.exposure = [ 4000 ];
console.log('SENDING');
console.log(data);
client.write(JSON.stringify(data));
await delay(2000);
data.action = 3;
console.log('SENDING');
console.log(data);
client.write(JSON.stringify(data));
await delay(2000);
await delay(6000);
data.action = 1;
data.position = { x: 50, y : 50, w : 320, h : 320 };
console.log('SENDING');
@ -48,7 +44,11 @@ client.connect(serverPort, serverAddress, async () => {
await delay(1000);
data.action = 2;
delete data.position;
data.exposure = [ 4000 ];
console.log('SENDING');
console.log(data);
client.write(JSON.stringify(data));
await delay(2000);
data.action = 3;
console.log('SENDING');
console.log(data);
client.write(JSON.stringify(data));