SparkFun Forums 

Where electronics enthusiasts find answers.

By Cliff C
#195583
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#
By Cliff C
#195615
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.