adjust oc

This commit is contained in:
ccppi 2024-03-01 08:49:36 +00:00
parent b369dd1a07
commit 8f0b4c5676

2
main.c
View File

@ -44,7 +44,7 @@ int main (void)
struct cRGB led_bar1[8]; struct cRGB led_bar1[8];
//DDRB = (1<<mic);//would be setting output, default is input so no need for setting //DDRB = (1<<mic);//would be setting output, default is input so no need for setting
setupADC(); setupADC();
OSCCAL = 250;//overclock!!! to 30MHz OSCCAL = 240;//overclock!!! to 30MHz
for(i=0;i<8;i++) for(i=0;i<8;i++)
{ {
led_bar1[i].r=0; led_bar1[i].r=0;