Mail Archives: djgpp/1997/05/05/08:23:42
[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"1<S^+B\6P8^C4%S)6_J!YW%
M+(W]NT[T-9D=.(X[H_..1P7;.#[XQ8D.C).3OB#H/22D"D%<EV['Q17^'C9?
M^G,W6'H4?HP3SP\[L],R*?#'C%80]QQA;F>VUVQ>O7\#X\!Q[^R-3O#G<<!)
M7V=^0NV-V>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%<NN\7R.?;42_9W2BIX7!X7HL<E+;#E
M#3K"D\4]6>>>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&+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