CIRC 05 Change LED error
Closed this issue · 1 comments
lilylake1 commented
during the adding of this part in the get to know more of CIRC05 i am getting an error of "changeLED not declared"
...
int delayTime = 100; // # of ms to delay btween LED updates
for(int i=0; i<8; i++){
changeLED(i, ON);
delay(delayTime);
}
for(int i=0;i<8;i++){
changeLED(i,OFF);
delay(delayTime);
}
...
andydoro commented
changeLED
is a function declared further down in the code. you need to include the definition of this function further down in the code. I'll go over writing our own functions in class tomorrow.