John_Swenson Posted February 20, 2006 Report Share Posted February 20, 2006 I've been reading over the example C programms to get a feel for it and came across this line in the clockbox:unsigned char mclock_ctr_measures; // counts the measures (up to 65535)This doesn't make sense to me, a char is usually an 8 bit quantity and I don't see how you get 65535 out of an unsigned char. Should this be an unsigned int or is there a separate variable that is the "upper byte" or some such? John S. Quote Link to comment Share on other sites More sharing options...
TK. Posted February 21, 2006 Report Share Posted February 21, 2006 Hi John,this is a bug, the variable should be declared as "unsigned int".Propably the measure will restart at 0 once 256 has been reached (at 140 BPM this takes 7.3 minutes, therefore I never noticed this ;-)Best Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.