Added explicit check for spikes

Dependencies:   mbed

no such method: tip