The address depends on the A2, A1 that are hardcoded into the chip at manufacturing time and also on the A0 that the user controls.
I guess you have double checked them.
Also the control byte I think should be a constant and not a variable.
Ioannis
Bookmarks