Go Down

Topic: Shift Out / Shift Register. (Read 822 times) previous topic - next topic

sounduser


Ive having a spot of trouble with the basic examples on the website. http://www.arduino.cc/en/Tutorial/ShiftOut

Ive wired everything up as instructed. But im getting some unexpected results. Please see videos

Code Sample 1.1 Hello World
http://arduino.cc/en/Tutorial/ShftOut11
http://www.youtube.com/watch?v=cP9ivIDhFek


Code Sample 1.2 One by One
http://arduino.cc/en/Tutorial/ShftOut12
http://www.youtube.com/watch?v=0EE_8IoreOM

spycatcher2k

I can't see the 2nd video - its private - but your first one is OK, if a bit fast (not 500Ms - more like 50Ms)
Drew.
http://www.uk-pcb.co.uk - My UK Based PCB Fab & Assembly Company
Design work undertaken
SMD & Thru-Hole assembly

James C4S


But im getting some unexpected results.

Videos are usually helpful.  However, an explanation of what the "unexpected results" might be a little bit more helpful...

Video 1 shows a binary counter, which is what I expected.
Capacitor Expert By Day, Enginerd by night.  ||  Personal Blog: www.baldengineer.com  || Electronics Tutorials for Beginners:  www.addohms.com

sounduser

Ive changed the video to unlisted now. Sorry about that.

James C4S


What is the "unexpected" behavior?
Capacitor Expert By Day, Enginerd by night.  ||  Personal Blog: www.baldengineer.com  || Electronics Tutorials for Beginners:  www.addohms.com

sounduser

On the second video they're meant to light up one by one. Some light up and there is no animation at all.

James C4S

The 2nd has no animation. You enter numbers in the serial monitor and the LEDs change.
Capacitor Expert By Day, Enginerd by night.  ||  Personal Blog: www.baldengineer.com  || Electronics Tutorials for Beginners:  www.addohms.com

sounduser

ooooooopps. Sorry about that.

Go Up