Hi, everyone!
I’m workig with a RAK3172 using de Arduino IDE. I tried to use a TSL2561 to read luminosity with this library. It Compiled ok, then uploaded it to my board but it didn’t work (Nothing comes to the Serial Monitor) then I tried to upload another program I knwo it work correctly (the RAK analog read example) but then i got this error:
Since then, I can’t no longer upload any code to my boards. This happend to 3 of my RAK3172. I tried to reset the board before upload but still the same.
Can you please tell me if there is any way to “erraese” this uploaded code from my rak3172 modules or anything I can do to repair them.
Thanks in advance!
Here is the code i uploaded
#include <Digital_Light_TSL2561.h>
void setup()
{
// initialize serial communication at 115200 bits per second
Serial.begin(115200);
Serial.println("RAKwireless Light Sensor");
Serial.println("------------------------------------------------------");
Wire.begin();
TSL2561.init();
}
void loop()
{
Serial.print("The Light value is: ");
Serial.println(TSL2561.readVisibleLux());
delay(1000);
}