tested with Energia 0101E0010 and MSP430F5529