Simple example for the iCEbreaker dev board: https://github.com/esden/icebreaker/