RGB-123 Matrix Code for MBED