Skip to content

Commit c0bc25e

Browse files
committed
debugging
1 parent 6b0b7b6 commit c0bc25e

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

screen.ts

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -136,25 +136,23 @@ namespace user_interface_base {
136136
basic.pause(3)
137137
}
138138

139-
140139
// Send a chunk of the bitmap and wait for ACK, RX will rebuild the bitmap:
141140
for (let j = 0; j < numberOfChunks; j++) {
142141
const rowBuffer = this.getBuffer(bitmap, j, maxPacketBufferSize);
143142
radio.sendBuffer(rowBuffer);
144143

145144
// this.waitForAck();
146145

147-
basic.showString("A")
148-
let received = false;
149-
radio.onReceivedString((_: String) => {
150-
received = true;
151-
})
146+
// basic.showString("A")
147+
received = false;
148+
// radio.onReceivedString((_: String) => {
149+
// received = true;
150+
// })
152151

153152
while (!received) {
154153
basic.pause(3)
155154
}
156-
basic.showString("D")
157-
155+
// basic.showString("D")
158156
}
159157

160158
// basic.showString("D")

0 commit comments

Comments
 (0)