Go back to Product Documents NavigationÂ
 Go back to Meowbit Documents NavigationÂ
Â
Meowbit has a built-in accelerometer for measuring rotation and acceleration of the device, as well as detecting different gestures.
MakeCode Arcade Coding Tutorial
Load Controller Extension
Loading Extensions
(This sensor may not work with MakeCode Arcade due to the bug of the platform)
Â
Blocks for Controller Extension
Â
Detecting rotation
The rotation value ranges from 0 to 1023.
Â
Detecting gestures
Â
Kittenblock Coding Tutorial
Â
Blocks for onboard sensors
Â
Getting the acceleration
Â
Getting the rotational acceleration
Â
Getting the tilting degree
Â
Detecting gestures
The gestures can be detected in 2 ways.
Â
Â
If you have any question, please feel free to contact us at Discord, we will always be there to help.
Â
KittenBot Team
Â