-
The following driver support is required, so please download these library and place them at the same folder as your *.ino sketch.
You can include these libraries in 2 different ways:
-
Install them directly from library manager in the Arduino IDE.
#include <Adafruit_Sensor.h> #include <Adafruit_BMP085_U.h> #include <rgb_lcd.h>
-
download the libraries and place them at the same directory as your *.ino sketch (Just like what we do in this example).
#include "Adafruit_Sensor/Adafruit_Sensor.h" #include "Adafruit_BMP085_Unified/Adafruit_BMP085_U.h" #include "Grove_LCD_RGB_Backlight/rgb_lcd.h"
-
-
Before you download this Arduino sketch into your LinkIt One, you have to configure the Wi-Fi and some variables (MCS device ID and key) which will be used in the Arduino sketch.
- How to configure Wi-Fi and you can modify the wifi.txt attached in this repository.
- Fill in the device ID and device key of your MCS device into device.txt file.
-
Upload the *.ino into your LinkIt One and have fun.
You can refer to the official tutorial for more comprehensive information. MediaTek Labs: Weather Station tutorial