|
|
"BrunoG" <noreply@xxxxxxxxxxxxxxxxxx> schreef in bericht
news:440b8053$0$20177$8fcfb975@xxxxxxxxxxxxxxxxxx
> <cbarn24050@xxxxxxx> a écrit dans le message de news:
> 1141601358.877866.257620@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> > >
> >
> > I dont have the spare time to write, compile and debug code just for
> > you. If you cant see how simple your code should have been then you
> > need to find another occupation.
>
> Sure you will not have enough time, eternity will not be long enough to
> rewrite this within 50 rom bytes.
This is probably what eats most of the 1676 bytes:
unsigned long d
d /= 1000 ; // divide by 1000 because
d /= (long)Clock_Khz() ; // clock frequency is known in Khz
And these lines only add a bit of convenience... would be nice
to see how many bytes you need without these lines.
--
Thanks, Frank.
(remove 'q' and '.invalid' when replying by email)
|
|