Hard to say. Please supply more details on the hardware & connections you are using and show your code here… properly formatted please.