tpbot2.info
Appearance
(Redirected from tpbot.info)
Detects whether or not the robot is connected to the micro:bit (and turned on). If so, also reports the type of the robot.
Function
Synopsis
tpbot2.info()
Arguments
None.
Returns
- A boolean that is `true`, if the robot is connected and turned on, `false` otherwise.
- A string indicating the type of the robot, if so, `nil` otherwise.