I have added an Arduino file Tach.ino?I hope this helps?This is used in my RELS. Also see the schematics for wiring in.Cheers-- John