- Open MakeCode and create a new project, or open an exisitng one.
- Click on
Extensionsunder the gearwheel menu.
- Search for
https://github.com/devices-lab/pxt-solderbit-segment
- Select
solderbit-segment
The solder:bit Segment communicates with the micro:bit over I2C using pins P19 and P20. Connect the device to the micro:bit using the following pinout:
| solder:bit Segment | BBC micro:bit |
|---|---|
| GND | GND |
| VDD | 3V |
| SDA | P20 |
| SCL | P19 |
The Shift Edition uses a SIPO shift register, communicating with the micro:bit over SPI using pins P0, P1, and P2. Connect the device to the micro:bit using the following pinout:
| solder:bit Segment Shift Edition | BBC micro:bit |
|---|---|
| GND | GND |
| VCC | 3V |
| STCP | P2 |
| SHCP | P1 |
| DS | P0 |
You may edit or remix this project directly in MakeCode.
- Open MakeCode.
- Click on
Importthen click onImport URL. - Paste
https://github.com/devices-lab/pxt-solderbit-segmentand click import.
- 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>


