This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Adafruit_NeoPixel.h> | |
#include <ColorConverter.h> | |
int currentLevel = 1; | |
int change = 1; | |
byte levelTable[256]; // pre-calculated PWM levels | |
const int neoPixelPin = 5; // control pin | |
const int pixelCount = 7; // number of pixels |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<pre><code> | |
----------begin_max5_patcher---------- | |
1183.3oc6Z0zaaiCD8r8uBBkqtdEo9t25FzcQOr.K1TjCMnXAsLiMakE0RQ4 | |
0IE8+dEoncsikUngkDZbrOHASNTil483vgC02FNvZBaEI2B7VvcfAC91vACT | |
MIaXf9+CrVfWEmfyUhYMICKhmS3Vip5bIlmhWPz8M9ZofzXvsrX1zsjhR9+k | |
zb5DZBU7fTXntG182mSDUuA1isGIu.9rtyDV7WISmxwyxi4rjDoX159hSnwe | |
ULmyJlMe61Io3IIj46OfpNVteGSlsn7ccmVXb4K+VszfMNtz+T5TVapoEKno | |
IDgxcgzMRmpFLaxWdCxYsjjUBNNVrs2nbvrBw5QuwGoZR7PFoxOYkSmkhKsg | |
09IElPSm8ubRr1W5F3O1aDvy0S5TgdApaPeo2UNnuObn7xn1A1+CN4+JHowO | |
.tYN8dwYJvumU1Dz6VCzaaLzidFnejQj.DTg9ZR.B4O1u7W.LvCEgh7CC6PJ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<pre><code> | |
----------begin_max5_patcher---------- | |
1402.3oc6Z10aaaCEF9ZmeEDJ254IRpO2cYYoCEnCsqqHWzzfBZYFalHKpQQ | |
65jh9eejT9CkDYE5YoNzYafDYIR4CIeeNGdHk95I8bFxWPKb.+B3JPude8jd | |
8LWRegdKOumyTxhjTRgoZNCyIxjITgS+xBIYYbIQx3YlhO8Tv4BJQRAyYinb | |
vmblRkD.aJYLs3S5hWciyIhLxTp4ttQPRjjT1Cq+YyEbIWdeNcccxYKRWeuL | |
5WlyJXCYoL485hgKKgeyMETYYGxcfae8+.WurvTdxczQiDjwEIBdZptZtKKK | |
IkkbmbhfOa7jpWW0.FlRm77anrf4OufgimxGQq1nFxEiTiXUpCelLkJ08uxl | |
pysL4mmRjBlZreUyMa1TVlpZlAd+UCL5geV13OKnIK6m3nPcOE5FGLHP8AEz | |
Gf7iLWCWs+yFYFI4Cu8mPtNarRYqonZSd8v97GFrQcFnPAUCvQWmucxI5+0u |