If You post schematics showing the powering, and the code, we will have more information to start from.