thanks for the prompt reply. it will probably take me 2 days to figure out some working code for just that, but i dont mind. i found out this is the best way to learn programming. meanwhile, im trying to design a h-bridge test board for a 2431. ill keep you updated on results.

thanks