Hallo,
Problem (dank avr-ggc) mailing liste gelößt:

Blake leverett:
The problem is that (1<<i) assumes that '1' is an integer, or 16 bits. And
it's signed, so when it shifts 15 times, you get -32768 (or so), and that
converts to an unsigned long as the big number you see.

((uint32_t)1 << i) (or something like that) should work.


trotzdem danke für die Antworten

lg MoFe