Ohhhhh the sweet smell of success!! After 2 weeks, the code is very nearly there. I have a lot more to do in terms of some additional features but proof of concept is there!!! It works.
So the coin acceptor is going to go at the top of the machine and it will dispence coins into the win tray.
Thanks to people who have helped via email, pm and even facebook! Thank you,
I don't get a lot of time in my workshop but writing this code has sucked up a lot of shop time so back to building it now!
Chris