changed default sample time

added sample time macro

TODO: begin port to XMEGA processor