LED Multiplexer acting weird
hi, i need fresh pair of eyes on code. multiplexing 43-segment display , turning segments on , off randomly. achieve this, performing own pwm splitting each cycle 64 "frames" , copying previous 1 next each cycle new segments added frame 0 able "fade in" being copied frames 1, 2, 3, 4 , on cycles progress. when segment randomly selected again, use xor function flip segment off frame 0, , off state gets copied frames 1, 2, 3, 4 , on segment fades out. the problem is, illuminating segments 1 column on activated segments. in other words, another segment illuminates 1 column on segments in on state. code not complicated must missing straightforward , i'm @ wit's end. a few theories have are: (1) random number generator not "random" , generating same segments, albeit 1 column over. calling random numbers every cycle sheer sample size may revealing pseudorandom nature of generators. have tried generator (2's carry) arduino's bui...