3 I/0 pins getting high one after other high,spi communication

Hi

I am trying to generate 6 chipselect from master uno by using 6 i/o , as we all know only one chipselect is there so i am using i/o pins,initially condition all 6 are set to HIGH ,then one i/o should go low and high then only next i/o should go low and high like that all remaning 4 should go low and high one after other,the problem was first is going low and high but remaning all are not going low there are in the high state itself(initial condition).
can any one tell the reason for it.
switch_code_arduino.ino (7.8 KB)

Not without seeing your full sketch

How do you know this?
Are you looking at the CS pin on a scope?

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.