10 #include "simpletools.h" 20 shift_out(7, 8, MSBFIRST, 7, 0b1010110);
21 shift_out(7, 8, MSBFIRST, 1, 0b0);
22 shift_out(7, 8, MSBFIRST, 8, 0b01100101);
30 shift_out(7, 8, MSBFIRST, 7, 0b0001000);
31 shift_out(7, 8, MSBFIRST, 1, 0b0);
33 z = shift_in(7, 8, MSBPRE, 8);
36 print(
"%c z = %d%c", HOME, z, CLREOL);