Change assert in led test
first try adding pattern using state machine
Pattern blinking.

Cleanup of previous commit + bugfixes.

This closes #38 since it allows playing pattern, even though
those needs to be defined in code.