. - . --- Morse code has the following: dit,dah , longPause,pause,noise Classify the above by measuring the times. look for max On, min On, max off, min off dah = 3* dit interword gap = 3* gap http://en.wikipedia.org/wiki/Morse_code so you need: function to report TONE_ON,TONE_OFF durations, function to classify TONE_ON, TONE_OFF,duration function to look for interLetterGaphttp://en.wikipedia.org/wiki/Morse_code