library working using OC toggle to drive GS and interrupt for serial data