File tree Expand file tree Collapse file tree 3 files changed +0
-10
lines changed Expand file tree Collapse file tree 3 files changed +0
-10
lines changed Original file line number Diff line number Diff line change 3636 // 'url': 'wa1501.local'
3737 // });
3838
39- board . on ( webduino . BoardEvent . BEFOREREADY , function ( ) {
40- console . log ( 'board beforeReady' ) ;
41- } ) ;
42-
4339 board . on ( webduino . BoardEvent . READY , function ( ) {
4440 console . log ( 'board ready' ) ;
4541 led = new webduino . module . Led ( board , board . getDigitalPin ( 13 ) ) ;
Original file line number Diff line number Diff line change @@ -35,10 +35,6 @@ board = new webduino.WebArduino('device_id');
3535// 'url': 'wa1501.local'
3636// });
3737
38- board . on ( webduino . BoardEvent . BEFOREREADY , function ( ) {
39- console . log ( 'board beforeReady' ) ;
40- } ) ;
41-
4238board . on ( webduino . BoardEvent . READY , function ( ) {
4339 console . log ( 'board ready' ) ;
4440 led = new webduino . module . Led ( board , board . getDigitalPin ( 13 ) ) ;
Original file line number Diff line number Diff line change 2424 STRING_MESSAGE : 'stringMessage' ,
2525 SYSEX_MESSAGE : 'sysexMessage' ,
2626 PIN_STATE_RESPONSE : 'pinStateResponse' ,
27- BEFOREREADY : 'beforeReady' ,
2827 READY : 'ready' ,
2928 ERROR : 'error' ,
3029 BEFOREDISCONNECT : 'beforeDisconnect' ,
351350 break ;
352351 case ANALOG_MAPPING_RESPONSE :
353352 this . processAnalogMappingResponse ( sysexData ) ;
354- this . emit ( BoardEvent . BEFOREREADY ) ;
355353 break ;
356354 default :
357355 this . emit ( BoardEvent . SYSEX_MESSAGE , {
You can’t perform that action at this time.
0 commit comments