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 715108d commit 92801d0Copy full SHA for 92801d0
screen.ts
@@ -93,19 +93,20 @@ namespace user_interface_base {
93
basic.pause(25)
94
}
95
96
- radio.onReceivedValue(_ => { }) // reset radio
+ // radio.onReceivedValue(_ => { }) // reset radio
97
return ackReceived;
98
};
99
100
// bitmap information:
101
radio.sendString(name + "," + bitmap.height)
102
103
104
- const ackReceived = waitForAck();
105
- if (ackReceived)
106
- basic.showString("R")
107
- else
108
- basic.showString("N")
+ basic.showString("W")
+ while (waitForAck()) {
+ radio.sendString(name + "," + bitmap.height);
+ basic.pause(25)
+ }
109
+ basic.showString("R")
110
111
// Send each row of the bitmap:
112
// basic.showString("S")
0 commit comments