Add sound demo to Faceclaw; use CFW mode 6 (headerless 4bpp) for images

This commit is contained in:
James Babcock committed 2026-07-03 23:32:46 -07:00
1 parent 116e8891e7
commit acda9cdd7e
15 files changed
+262 -22

No files matched your search

+10
View File
@@ -266,6 +266,16 @@ export class FaceclawCommunicatorBridge {
return this.enqueueJavaCall(() => Boolean(this.communicator.sendShutdown(exitMode)));
}
async playBuzzerNote(note: number, oct: number, beat: number): Promise<void> {
await this.enqueueJavaCall(() => {
this.communicator.playBuzzerNote(
Math.round(note),
Math.round(oct),
Math.round(beat),
);
});
}
async close(): Promise<void> {
await this.enqueueJavaCall(() => this.communicator.close());
}