Bascom habe ich aufgeben. Ist in C für ATXmega.