[Arduino Yùn] BH1750 Sensor problem (Always 54612 lux)

Hello, I have recently a card "Arduino Yun", having bought a sensor "BH1750" (light sensor), I tried many codes and fixtures but I still get "54612 lux" in Arduino console.

My installation:

My code:

/*

Example of BH1750 library usage.

This example initalises the BH1750 object using the default
high resolution mode and then makes a light level reading every second.

Connection:
 VCC-5v
 GND-GND
 SCL-SCL(analog pin 5)
 SDA-SDA(analog pin 4)
 ADD-NC or GND

*/

#include <Wire.h>
#include <BH1750.h>


BH1750 lightMeter;


void setup(){
  Serial.begin(9600);
  lightMeter.begin();
  Serial.println("Running...");
}


void loop() {
  uint16_t lux = lightMeter.readLightLevel();
  Serial.print("Light: ");
  Serial.print(lux);
  Serial.println(" lx");
  delay(1000);
}

Thank you in advance for your help, regards.

Out of curiosity, what happens when you run the program with the data lines removed?

Are you actually getting a value from the sensor?

Where is the code from?

Weedpharma

Out of curiosity, what happens when you run the program with the data lines removed?

Sorry, I do not understand what you mean

With SDA and SCL removed.

I was wondering if the sensor is giving the value or if it is being generated by the program.

Weedpharma

Even removing two pins, the same value is always shown

I am a very basic amateur with programming so I simply try different things.

I wonder if it is a matter of formatting.

What happens if you have

Serial.print(lux, DEC );

Weedpharma

No difference

Sorry, time for the gurus!

Weedpharma

I had to connect my SCL and SDA pins to dedicated 20th and 21st pins on Arduino MEGA 2560.