SIK circuit14_shiftRegister sketch error

A place to hang out and chat with other like minded tinkerers

Moderators: phalanx, TS-Tim

Post Reply
Cliff C
Posts: 2
Joined: Sat Jul 15, 2017 2:08 pm

SIK circuit14_shiftRegister sketch error

Post by Cliff C » Sat Jul 15, 2017 2:31 pm

The sketch for SIK circuit14_shiftRegister always creates an error message. It points to the non commended oneAfterAnother function call in loop() with comment "'oneAfterAnother' was not declared in this scope".
The detail of the error discussion seems to find error with the bitwrite function call.

If all of the options are commented out, then the error still points to the bitWrite function call.

Is there a fix for this so that I can test my shift register setup.

Thanks for any help.https://forum.sparkfun.com/posting.php?mode=post&f=49#

Cliff C
Posts: 2
Joined: Sat Jul 15, 2017 2:08 pm

Re: SIK circuit14_shiftRegister sketch error

Post by Cliff C » Thu Jul 20, 2017 7:06 am

There is an error in the copy of the sketch that I found in Examples. The FOR loop for oneAfterAnother function attempts to index for 7 down to 0, instead of from 0 up to 7.
Fixing tht removes the problem.

Post Reply