This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SN74HC595: SN74HC595DR

Part Number: SN74HC595

左边那颗芯片是之前买的,右边这颗是新买的,

新买的这颗不能像之前的那颗正常控制,感觉程序时序没有问题

求助

IO_595_RCK_0;

for(i=0;i<8;i++)
{
IO_595_SCK_0;
nop();

if(dat&0x80){
IO_595_SI_1;
}else{
IO_595_SI_0;
}

nop();
IO_595_SCK_1;
nop();

dat <<= 1;
}

IO_595_RCK_1;