Post your code and schematic then I can help.