Skip to content
Snippets Groups Projects
Verified Commit a8f9a189 authored by fleur's avatar fleur Committed by rahix
Browse files

removed legacy functions from hardware test + minor bugfix

parent 1f60d6cb
Branches
Tags
No related merge requests found
......@@ -32,9 +32,9 @@ int main(void)
Paint_DrawImage(Heart, 0, 0, 160, 80);
LCD_Update();
for (int i = 0; i < 11; i++) {
leds_set_dim(i, 1);
}
for(int i=0; i<11; i++) {
// leds_set_dim(i, 1);
}
int __attribute__((unused)) h = 0;
while (1) {
......
......@@ -33,7 +33,7 @@ def get(flag='rainbow', brightness = 1, gamma = 1, cutoff = 12):
output += [i]*leds_per_color
return output[::-1][0:11]
def demo(s_delay=4):
def demo(s_delay=2):
for i in flags:
print(i)
ledfx.kitt(spectrum=get(flag=i), cycles=int(s_delay/.08), halo=True, minimum = 0.5)
ledfx.kitt(delay=int((1000*s_delay)/40), minimum = 0.7, spectrum=get(flag=i), cycles=40, halo=True)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment