Skip to content

Latest commit

 

History

History
44 lines (30 loc) · 2.18 KB

README.md

File metadata and controls

44 lines (30 loc) · 2.18 KB

Prepare your development Environment

  1. Get started with LinkIt One and Arduino IDE

  2. Install LinkIt One SDK in the Board Manager of Arduino IDE

  3. 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:

    1. Install them directly from library manager in the Arduino IDE.

      #include <Adafruit_Sensor.h>
      #include <Adafruit_BMP085_U.h>
      #include <rgb_lcd.h>
      
    2. 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"
      
  4. 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.
  5. Upload the *.ino into your LinkIt One and have fun.

WeatherStation tutorial

You can refer to the official tutorial for more comprehensive information. MediaTek Labs: Weather Station tutorial