Give more meaningfull error message.
Add support for ledStack
Put pattern in separate file