canon_ble #82

Merged
mattmcw merged 149 commits from canon_ble into main 2023-08-01 03:38:52 +00:00
2 changed files with 4 additions and 3 deletions
Showing only changes of commit 95ede98623 - Show all commits

View File

@ -95,8 +95,9 @@ void camera () {
}
void state () {
String stateString = String(mc.CAMERA_EXPOSURE);
String stateString = String(mc.STATE);
stateString += String(mc.CAMERA_EXPOSURE);
stateString += String(cameraFrame);
stateString += String(mc.STATE);
mc.print(stateString);
mc.sendString(stateString);
}

View File

@ -224,7 +224,7 @@ class Arduino {
const end : number = new Date().getTime()
const ms : number = end - this.timer
let complete : any
//this.log.info(`${serial} -> ${data}`);
//this.log.info(`${serial} -> ${data}`)
if (this.queue[data] !== undefined) {
this.locks[serial] = false
complete = this.queue[data](ms) //execute callback