Sugar LED Module

This is a LED module in the Sugar sensor series, the pin holes on the back allow compatibility with plastic buidling bricks.

Product Specifications

  • Dimension: 24 x 24 x 23 mm

  • Weight: 5.6g

  • Type: Digital

Wiring

Use a 3Pin cable to connect the module to Robotbit Edu

Programming Tutorial

MakeCode Programming Tutorial

Import Sugar Extension

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

Extension URL

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

Importing Extensions Tutorial

Sample Program

Kittenblock Programming Tutorial

MicroPython Programming Tutorial

  • state(sta): 1 for on, 2 for off

Sample Program


brightness(val): A percentage(0-100)

Sample Program

Last updated