hh10d works with Uno but not with Mega 2560

i attached a HH10D humidity sensor to my Uno board and it worked well following this page


however, then i attached it to my Mega 2560 te same way but connected the SCL to SCL ,SDA to SDA Pin 21,22 and the Fout to Digital pin 5. Then nothing shoes up...

anyone got any ideas?

Shouldn't you be using pins 20 and 21 rather than 21 and 22?

sorry about that, wrote wrong the pins are correct wired