work on laptop
This commit is contained in:
parent
566f1ecefd
commit
332e6e8f89
|
@ -66,9 +66,6 @@ void actionDisplay () {
|
|||
completed = false;
|
||||
timing = true;
|
||||
startTime = steady_clock::now();
|
||||
while (!completed) {
|
||||
//
|
||||
}
|
||||
} // multi channel case
|
||||
}
|
||||
|
||||
|
|
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue