From 3fca05e239cc466a3dc1f77531edca02cc4b0633 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Hru=C5=A1ka?= Date: Tue, 2 Jan 2018 18:04:01 +0100 Subject: [PATCH] asdf --- main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.py b/main.py index d95339a..ebef22b 100644 --- a/main.py +++ b/main.py @@ -54,6 +54,8 @@ if True: neo = gex.Neopixel(client, 'npx') print('We have %d neopixels.\n' % neo.get_len()) + + # generate a little animation... for i in range(0,512): j = i if i < 256 else 255-(i-256) neo.load([0x660000+j, 0x3300FF-j, 0xFFFF00-(j<<8), 0x0000FF+(j<<8)-j])