Editing Hack Notes CVA 090718
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 3: | Line 3: | ||
if the motor function is like this: | if the motor function is like this: | ||
<pre> | </pre> | ||
case 1: | case 1: | ||
shiftOut(serial_in, SRCK, LSBFIRST, B10000000); | shiftOut(serial_in, SRCK, LSBFIRST, B10000000); | ||
Line 31: | Line 31: | ||
then the motors actually turn on in an order more like 2,1,4,3,6,5,8,7. So, here is how it should look: | then the motors actually turn on in an order more like 2,1,4,3,6,5,8,7. So, here is how it should look: | ||
<pre> | </pre> | ||
case 1: | case 1: | ||
shiftOut(serial_in, SRCK, LSBFIRST, B01000000); | shiftOut(serial_in, SRCK, LSBFIRST, B01000000); |