Shift Register Experiments

Originally published at: https://contextualelectronics.com/topic/shift-register-experiments/

This video shows the shift register, both the digital signals interacting with the physical device and the code used to output relevant signals from the teensy (via the Arduino IDE) Learn more about shift registers here: http://www.electronics-tutorials.ws/sequential/seq_5.html Buy your own “grabber thingies”: http://amzn.to/2yPdc1B The Analog Discovery 2 has associated skill videos here.

at 23:19 instead of setting “bitsToSend” to 256, try 255.

the third ardument is stored into a byte, so 256 turns into 0, since the lowest 8 bits are all 0.
256 = 0b100000000

what you wanted is 255
255 = 0b11111111
which is eight 1s in a row.