Page 1 of 1

SIK circuit14_shiftRegister sketch error

Posted: Sat Jul 15, 2017 2:31 pm
by Cliff C
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#

Re: SIK circuit14_shiftRegister sketch error

Posted: Thu Jul 20, 2017 7:06 am
by Cliff C
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.