File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -79,15 +79,15 @@ namespace user_interface_base {
7979 // Returns true on succesful acknowledgement reception.
8080 // Returns false on timeout (250ms)
8181 const waitForAck = ( ) => {
82- basic . showString ( "W" )
82+ // basic.showString("W")
8383
8484 let ackReceived = false ;
8585 radio . onReceivedString ( _ => {
8686 ackReceived = true ;
8787 } )
8888
8989 // timeout:
90- for ( let timeChunk = 0 ; timeChunk < 250 ; timeChunk += 25 ) {
90+ for ( let timeChunk = 0 ; timeChunk < 500 ; timeChunk += 25 ) {
9191 if ( ackReceived )
9292 break
9393 basic . pause ( 25 )
@@ -117,6 +117,7 @@ namespace user_interface_base {
117117 const ackReceived = waitForAck ( ) ;
118118 while ( ackReceived ) {
119119 radio . sendBuffer ( rowBuffer ) ;
120+ basic . pause ( 50 )
120121 }
121122 }
122123
You can’t perform that action at this time.
0 commit comments