On 1-mrt-2006, at 13:34, Albert Bartoszko wrote:

Bart van Deenen napisaƂ(a):

Hi all

I'm just starting some experimenting with an easyWebII board, using
the articles on onlamp.com as a guideline. I've found a bug in the
header file <timera.h> (cvs 1.12) , which defines ID_3 as (3<<6). This
should be (3<<4). The same goes for the other clock divider constants
ID_0, 1 and 2.\

Why???
ID bits are 6 and 7.

Hi Albert

I used ID_DIV8 for divide by 8 on the clock. ID_DIV8 is an alias for ID_3, but that doesn't really divide by 8, because the clock divisor bits are 4 and 5. Maybe I'm just using the wrong #define.

Bart

Reply via email to