# Sugar Grayscale Module

![](https://kittenbothk.readthedocs.io/en/latest/_images/gray_render.png)

This module can detect different levels of grayscale.

### Product Specifications

* Dimensions: 24 x 24 x 23 mm

### Hardware Wiring

Connect the module with a 3PIN cable to the Robotbit EDU.

![](https://kittenbothk.readthedocs.io/en/latest/_images/gray_wire.png)

### Programming Tutorial

#### MakeCode Programming Tutorial

![](https://kittenbothk-eng.readthedocs.io/en/latest/_images/mcbanner.png)

#### Import Sugar Extension

#### Search for sugar in the search bar (Kittenbot products has been verified by Microsoft)

![](https://kittenbothk-eng.readthedocs.io/en/latest/_images/sugar_search.png)

[Importing Extensions Tutorial](https://sharinghub-eng.kittenbot.hk/programming-platforms/makecode-tutorial/kittenbot-and-makecode)

#### Extension URL

Sugar extension: <https://github.com/KittenBot/pxt-sugar>

#### Sample Program

{% embed url="<https://makecode.microbit.org/_JCPLVv74fhCW>" %}

[Sample Program](https://makecode.microbit.org/_JCPLVv74fhCW)
