if you reset your count correctly (!) each revolution, wouldn't you only need the following to determine when a barrel is at top
if (! (cnt % 68))
if you reset your count correctly (!) each revolution, wouldn't you only need the following to determine when a barrel is at top
if (! (cnt % 68))