RAKWireless / WisBlock

Quickstart, tutorials and examples for the RAKwireless WisBlock product line.
https://www.rakwireless.com
MIT License
156 stars 117 forks source link

Add tutorial files using Light Sensor and OLED #34

Closed rallyuminga closed 2 years ago

rallyuminga commented 2 years ago

-This code use RAK1903 Ambient Light Sensor and RAK1921 OLED Display using RAK4631.

rallyuminga commented 2 years ago

Add tutorial files using Light Sensor and OLED

beegee-tokyo commented 2 years ago

@rallyuminga Can you check why it does not compile on RAK11200? If the code is not compatible with RAK11200, please add an empty file named .rak11200.test.skip in the same folder as the RAK4631_Light_Sensor_OLED_Screen.ino file. Then the automatic test build will skip the file for RAK11200 and only test for RAK4631 and RAK11300.

Thank you.

rallyuminga commented 2 years ago

@rallyuminga Can you check why it does not compile on RAK11200? If the code is not compatible with RAK11200, please add an empty file named .rak11200.test.skip in the same folder as the RAK4631_Light_Sensor_OLED_Screen.ino file. Then the automatic test build will skip the file for RAK11200 and only test for RAK4631 and RAK11300.

Thank you.

@beegee-tokyo I tested on the WisCore RAK11200 Board for the result compilation and enabled the verbose output of the Arduino IDE. It compiled successfully but has some warnings. See attached files for verification. Thank you! RAK11200_OLED_Screen1 RAK11200_OLED_Screen2

carlrakwireless commented 2 years ago

@rallyuminga do not have RAK11200 WisBlock Core.

I tested his code and works fine.

image

beegee-tokyo commented 2 years ago

My bad, the automatic test is not failing because of your pull-request. It fails because of something in the Adafruit libraries, and it fails only for RAK11200. image

6 days ago there was no problem. No I get suddenly errors for these Adafruit library on RAK11200.

carlrakwireless commented 2 years ago

Hi @beegee-tokyo ,

Do we need anything else to merge this on WisBlock repo?

The marketing suddenly made Rally's article live 😅

https://news.rakwireless.com/work-in-a-well-lighted-environment-measure-the-lux-with-wisblock/

We need to update it to include the source code link. Thanks 👍🏽