« Previous | Next » 

Revision 601

Added by Kevin Woo over 16 years ago

Apparently there were changes to bom.c and bom.h since the last time the
library was compiled.

delay_ms has been rewritten to use _delay_loop_2 which is a 4 cycle
implementation of a delay written in assembly. This is questionably more
accurate but does not use floating point to make delays anymore.

This implementation should be clock frequency independent, meaning that
the same function should be able to be used across different chips on
different clock frequencies.

Tested and works within acceptable skew (at 1s).


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences