Adding REPL control

At the end of the board.on('ready') function, add the following:

board.repl.inject({
motor
})

And now we have full control!

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.142.40.43