Skip to content

Latest commit

 

History

History
50 lines (33 loc) · 2.57 KB

README.md

File metadata and controls

50 lines (33 loc) · 2.57 KB

Open this page at https://mintgenie.github.io/pxt-orientbit/

image image

Here is the OrientBit - used to change the orientation of MicroBit on certain Robots so that the built-in Compass can be used. It can also be used to add a I2C OLED Display (SSD1306), 2 Wheel encoders, a TCS34725 color sensor and MPU9250 IMU.

Use this extension along with https://github.com/fizban99/microbit_ssd1306 for OLED

Usage Example 1: Here is an example implementation of reading out the Number of Rotations of wheel from the Encoder and displaying it on the OLED Display - image

Usage Example 2: Here is an example of using the Maqueen extension and with the onboard Compass to orient the Maqueen to a particular direction - image link: https://makecode.microbit.org/_fuP0f2UTicXt The course correct block returns 2 values as an array which are each the speeds of left and right motors.

Use as Extension

This repository can be added as an extension in MakeCode.

Edit this project Build status badge

To edit this repository in MakeCode.

Blocks preview

This image shows the blocks code from the last commit in master. This image may take a few minutes to refresh.

A rendered view of the blocks

Metadata (used for search, rendering)

  • for PXT/microbit
<script src="https://makecode.com/gh-pages-embed.js"></script><script>makeCodeRender("{{ site.makecode.home_url }}", "{{ site.github.owner_name }}/{{ site.github.repository_name }}");</script>