Comment on Shift register missing bits
Also try upping the usleep call?
Hmmmm do you want to write to both shift register at the same time? I say this because your looping 16 times, but seem to be sending the high and low bytes out 16 times over rather than one bit each time.
Maybe I’m getting ahead of myself, but maybe try using digitalWrite for a single bit instead of shiftDataOut?
Good idea, I’ve tried usleep after all lines, but no change…
mvirts@lemmy.world 1 year ago
Hmmmm do you want to write to both shift register at the same time? I say this because your looping 16 times, but seem to be sending the high and low bytes out 16 times over rather than one bit each time.
mvirts@lemmy.world 1 year ago
Maybe I’m getting ahead of myself, but maybe try using digitalWrite for a single bit instead of shiftDataOut?
quiescentcurrent@discuss.tchncs.de 1 year ago
Good idea, I’ve tried usleep after all lines, but no change…