Still no luck with the codes
I try ignoring the SPI library and use shiftin instead and still no luck
here is my updated codes
void setup()
{
pinMode(4,OUTPUT);//CLock Pin
pinMode(5,OUTPUT);//Data Pin
pinMode(3,OUTPUT);//Slave Select
Serial.begin(9600);
}
byte incoming;
void loop()
{
digitalWrite(3,LOW);
byte incoming = shiftIn(5,4,LSBFIRST);
Serial.println(incoming);
digitalWrite(3,HIGH);
delay(1000);
}
I am getting all zero reading...