File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -107,18 +107,27 @@ namespace user_interface_base {
107107 basic . showString ( "N" )
108108
109109 // Send each row of the bitmap:
110- basic . showString ( "S" )
110+ // basic.showString("S")
111111 let rowBuffer = Buffer . create ( bitmap . width * 8 ) ;
112112 for ( let row = 0 ; row < bitmap . height ; row ++ ) {
113113 // Fill buffer & send it over radio:
114114 bitmap . getRows ( row , rowBuffer ) ;
115+
116+ basic . showString ( "B" )
115117 radio . sendBuffer ( rowBuffer ) ;
116118
117119 const ackReceived = waitForAck ( ) ;
120+
121+ // basic.showString("W")
118122 while ( ackReceived ) {
123+ basic . showString ( "B" )
119124 radio . sendBuffer ( rowBuffer ) ;
125+
126+ basic . showString ( "W" )
120127 basic . pause ( 50 )
121128 }
129+
130+ basic . showString ( "A" )
122131 }
123132
124133 basic . showString ( "D" )
You can’t perform that action at this time.
0 commit comments