Thanks, I will fix my own code!

Perhaps that's why my serial code was hard to debug on the Emulator!

It polls the serial port based on the value of sysTicksPerSecond.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Joe Wronski      FitSense Technology           [EMAIL PROTECTED]
                                      Also at: [EMAIL PROTECTED]
http://www.fitsense.com       And: http://home.earthlink.net/~jwronski
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
 

> -----Original Message-----
> From: Danny Epstein [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, October 31, 1999 1:10 PM
> To: [EMAIL PROTECTED]
> Subject: RE: How much time is a tick? =)
> 
> 
> Keith Wolcott's suggested:
> >Use SysTicksPerSecond() to find the ticks per second.
> 
> Joe Wronski suggested:
> >Use the sysTicksPerSecond macro.
> 
> On Feb 2, Vitaly explained why the former is preferred:
> >Developers are discouraged from using the sysTicksPerSecond #define.
> >Instead, use the function SysTicksPerSecond().  This will ensure that
> >if/when the ticks per second changes on a newer platform, your app will
> >continue to obtain the correct value from the system.  For a slight
> >optimization, you can save the result to a global variable (if 
> globals are
> >available) at start of execution so you won't have to call the function
> >every time (in cases where this value is used frequently).
> 
> 
> -
> Danny Epstein, Applied Thought Corporation
> Have friends with Palm organizers? Get BeamBooks!
> http://www.appliedthought.com/beambooks
> 
> 

Reply via email to