At a quick glance I believe you have to send the LSB first according to the Datasheet and you are sending the MSB first. On the bottom of page 6 it shows the LSB being the first bit being clocked in.
Try changing the mode on your shiftout to a 0 like this:
Code:shiftout DPIN,CPIN,0,[$00,b0]
Bookmarks