Type of code with dahs and dits (5)
I believe the answer is:
morse
(Other definitions for morse that I've seen before include "Endeavour" , "Samuel ---, telegraph inventor" , "Dot-dash code inventor" , "TV Oxford cop" , "Fictional inspector; code" .)