The intent with QuakeFlicker is indeed to just use the return value from doit, as you supposed. That's how I first tested it, in fact, debug-printing the returned values and matching them to the bit stream in the comments. 32 of 'em, so I could tell it was repeating correctly. It just returns bits at whatever speed you call it at.