Utilization of NAU7802 scale sensor wityh I2c bus protocol

Utilization of NAU7802 scale sensor with I2c bus

I would like to know how to specify the NAU7802 address in my Arduino code.

As for example, for a BME280 sensor is done following 2 lines: Adafruit_BMP280 bmp; bmp.begin(0x76)

for the NAU7802, I would expect the following format: NAU7802 myScale; myScale.begin(0x2A)

I would like to know what is the correct call to precise the address (ref.: 0x2A)

Thank, JS

why don’t you use the library https://github.com/sparkfun/SparkFun_Qw … no_Library, which has the address already hardcoded ?

Hi Paul, thank for your quick answer,

this Totaly work

It was so obvious that I simply did not saw it,

it works,

thank again…