Back
Honeycomb Wearable Kit

Honeycomb Wearable Kit

351 Views31 Likes0 Comments12/29/2025

Create wearable projects with the Honeycomb kit for Micro:bit. Build light-up accessories and interactive clothing.

Code Examples

1 example
NeoPixel LED Strip
Arduino
28 lines
neopixel.ino
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
500 italic">// NeoPixel LED Strip for Wearables
500 italic">#include <Adafruit_NeoPixel.h>

500 italic">#define LED_PIN 6
500 italic">#define LED_COUNT 12

Adafruit_NeoPixel strip(LED_COUNT, LED_PIN, NEO_GRB + NEO_KHZ800);

void setup() {
  strip.begin();
  strip.show();
  strip.setBrightness(50);
}

void loop() {
  rainbow(10);
}

void rainbow(int wait) {
  for(long firstPixelHue = 0; firstPixelHue < 5*65536; firstPixelHue += 256) {
    for(int i=0; i<strip.numPixels(); i++) {
      int pixelHue = firstPixelHue + (i * 65536L / strip.numPixels());
      strip.setPixelColor(i, strip.gamma32(strip.ColorHSV(pixelHue)));
    }
    strip.show();
    delay(wait);
  }
}
Comments (0)

Please login to leave a comment

No comments yet. Be the first to comment!

K

keyestudio Robot

Creator