We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4c68bd commit 7abd578Copy full SHA for 7abd578
screen.ts
@@ -79,7 +79,7 @@ namespace user_interface_base {
79
80
let timePassed = 0;
81
while (!received) {
82
- if (timePassed % 99 == 0) {
+ if (timePassed % 30 == 0) {
83
if (typeof data == "string") {
84
radio.sendString(data);
85
} else {
@@ -89,6 +89,8 @@ namespace user_interface_base {
89
basic.pause(3)
90
}
91
92
+
93
+ radio.onReceivedString((_: String) => { }); // Reset
94
95
96
public static getBuffer(bitmap: Bitmap, chunkIndex: number, chunkSize: number): Buffer {
0 commit comments