This may seem like an obvious thing but several ppl including myself made this mistake.
On the datasheet look at the not below the pinout, it says "Bottom View" which is opposite from what you may be used to.
Vcc and Gnd may be flipped. When this happens they seem to be functioning but that isn't the case.
Seriously start there.
Bookmarks