API documentation for components


#1

I do not want to use mBlock.
It’s a nice idea that needs more work, but I’m finding it to be a bit clunky for now.

Where can I find the documentation on how to interface with each element of mBot directly from Arduino app?

For example, where do I find the documentation on how to make the Face Place work?

MeLEDMatrix.setBrightness(6)

What are the acceptable values?

MeLEDMatrix.drawStr(0,7-0,"Hello")

What does 7-0 mean?

There is only so much I can get from reverse engineering.
Is there actual documentation on how each component work? Ultrasonic sensor, line follower, light sensor… where can I find it?


#2

Unfortunately the matrix is a new item and isn’t yet included in their wiki API reference, but many of the others are.
http://wiki.makeblock.cc/library/docs/hierarchy.html
I haven’t used it much be it does seem to be the place to look for details on the calls.
Hopefully we can get them to update the docs so we can go make cool stuff without all the guess work.


#3

Thank you danjger.


#4