Save IR data

Dependencies:   mbed

no such method: tip