mBot 2.0.2 extension for MIT App Inventor 2


#1

@tec_support

I have spent many days developing a phone app using mBot 2.0.2 extension. The app controls the robot to trace a triangle. So far, it is workable until now. I tried to retrieve some info from some sensors. For a start, I used Lightness sensor as shown below. Got the result 0.0 no matter how brightness shines on the sensor. Nothing changes. What do I go wrong? Where is the document for the extension?

Thank you.

Geo

2017-11-07


#2

Hi BotCoder,

First, need call the read the light sensor value statement.
image
The robot will return data when it receives the instruction , the returned data will be returned by the ReceiveLightness C-type statement block


#3