Removed some experimental stuff

This commit is contained in:
ccppi 2024-03-01 08:00:30 +00:00
parent e700be4981
commit b369dd1a07

29
main.c
View File

@ -1,4 +1,3 @@
#include<util/delay.h>
#include<avr/io.h>
#include"fix_fft.h"
@ -126,34 +125,6 @@ int main (void)
ws2812_setleds(led_bar1,8);
}
// _delay_ms(50);
// for(i=0;i<8;i++)
// {
/* for(colorb=0;colorb<256;colorb++)
{
led_bar1[i].r=10;led_bar1[i].g=colorb;led_bar1[i].b=0;
ws2812_sendarray((uint8_t *)led_bar1,8*3);
_delay_ms(1);
}
for(colorb=256;colorb>0;colorb--)
{
led_bar1[i].r=0;led_bar1[i].g=colorb;led_bar1[i].b=10;
ws2812_sendarray((uint8_t *)led_bar1,8*3);
_delay_ms(1);
}*/
/*led_bar1[0].r=0;led_bar1[0].g=100;led_bar1[0].b=10;
ws2812_sendarray((uint8_t *)led_bar1,8*3);
_delay_ms(50);
led_bar1[0].r=255;led_bar1[0].g=0;led_bar1[0].b=10;
ws2812_sendarray((uint8_t *)led_bar1,8*3); */
// }
return 0;
}