File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -300,7 +300,7 @@ export class MicrobitWebBluetoothConnection
300300 return magnetometerService ?. triggerCalibration ( ) ;
301301 }
302302
303- async writeUART ( data : Uint8Array ) : Promise < void > {
303+ async uartWrite ( data : Uint8Array ) : Promise < void > {
304304 const uartService = await this . connection ?. getUARTService ( ) ;
305305 uartService ?. writeData ( data ) ;
306306 }
Original file line number Diff line number Diff line change @@ -333,7 +333,7 @@ const createUARTSection = (): Section => {
333333 {
334334 onclick : async ( ) => {
335335 const encoded = new TextEncoder ( ) . encode ( dataToWrite ) ;
336- await bluetoothConnection ?. writeUART ( encoded ) ;
336+ await bluetoothConnection ?. uartWrite ( encoded ) ;
337337 } ,
338338 } ,
339339 "Write to micro:bit" ,
You can’t perform that action at this time.
0 commit comments