Quote Originally Posted by MR2010 View Post
Code:
                   
     shiftout DPIN,CPIN,1,[$00,b0]
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]