ATtiny Run w/o Delay Two Functions from void Loop()

Thread Starter

allenpitts

Joined Feb 26, 2011
182
Hello AAC forum,

Working to call two different functions from void loop() that use blink without delay.

So I copied a sketch that uses blink without delay in void loop().
It works well. Code and schematic attached.

Then the function which blinks w/o delay was made into two functions, runLED3()
and runLED4() and the two functions were called from void loop().
Code and schematic attached.

But the error Compilation error: 'runLED4' was not declared in this scope persists.

It is realized that runLED4 is not declared in the scope of void loop() but
runLED4 is declare as a function.

Can a function not be called from void loop() or am I missing something?

Thanks.

Allen Pitts
 

Attachments

Top