Date: Mon, 5 May 1997 14:23:06 +0200 (MET DST) From: Christoph Kukulies Message-Id: <199705051223.OAA13319@gil.physik.rwth-aachen.de> To: djgpp AT delorie DOT com Subject: can anyone review this - uclock() Precedence: bulk [djgpp v2.01] I'm starting to use uclock() as the timebase for my stepper motor driver in the course of throwing away the vendor driver. I appended a piece of code that uses a screen (7 segment) counter (quick hack - not object oriented, please don't comment on style :-) What makes me wonder is why I don't see a smooth incrementing of the count. Rather it seems to skip some values and increments quite sticky. Any ideas? [ compile using gcc -c uc uc.c -lalleg ] -- Chris Christoph P. U. Kukulies kuku AT gil DOT physik DOT rwth-aachen DOT de begin 664 uc.c.gz M'XL("/O.;3,``W5C+F,`S5AM4]M&$/YL_XH-F28R/HQ>;`SCBAF2T#03FC#4 M;4,9QB-+9UM%6*XD$\LN_[U[+Y).LDQ(/]6`?-I]=F]?=+LK#O>A"?L`,*1Q M`HLHG$;./8"V=(/0O2-P%@1T&H4M`7H[B_PX"1VUVQ>O7\#X\!Q[^R-3O#G<L1^2<9GA/=1=1#EDDL8BG4:413>],C^(/4PWT(:)+0*(8O!*[A M3VZJ1R?^G,*OP\^7H\O/%]=P8.3$\T_O),UL)NF"(AGB)%JZ"6SB61 AT EL"+I MX!$N/W_X-.0;?&$Z_3DR1HL0O^.;6WO3!!8V=(4O>CHYELM^L31S?FX)@0PO M.26THD.N,FO157[/[+G.[$EWVF/V2%>>0-45G9B%$>8W[>DK AT D=;,5945`5WP)7E44U.Q&,Q#E>8`]@( M39G1$L[.FUY#4._+=X5IN_"U"DWV6]U#I>S26Y6J**HA\/O.;KW2VD:NO5$H M:62F-Q2Y1B:1>]I0;%/TE&7,`EI>;FVJ)BTK!>^OSL\_ AT 9G?7YV_ AT Z)0O+GX M[1RZRNW9VX^@Y_=__/QA>`Y&+R>\.[OZR#28/47HZL/[GX>":E6H>6=*0 M48TJ]1J).CLU+,8'!V#@!9?_R(C_@^NN7/,1,#BW+*4:7`>VP9Y585\=V+VRPP./A:V,!Y[%'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