Inventor who might be described as dotty or dashing? (5)
I believe the answer is:
morse
(Other definitions for morse that I've seen before include "10 [SLEUTH]" , "Walrus - TV detective" , "One who enjoyed solving code" , "Fictional inspector; code" , "Code using dots and dashes" .)