Thanks to all those who helped with this i have had this breadboarded and working in my pic on bench today, it works great. What a forum incredible. Now to design my pcb.