Using an LCD on the Edison
Install the ILI9341 Module
Flash and Configure the Edison
MRAA is Intel's set of libraries used to control the low-level hardware. Because UPM relies on MRAA, we need to install it first.
Connect to the Edison over Serial or SSH. Once logged in, enter the following commands to download MRAA:
wget https://github.com/intel-iot-devkit/mraa/archive/master.zip unzip master.zip mv mraa-master mraa
Then, build MRAA with:
cd mraa mkdir build cd build cmake .. make
Install the newly built libraries, and update the pkg-config path, which is needed by UPM.
make install export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig
Build ili9341 in UPM
Next, we need to download the latest version of UPM and install the ili9341 module. Download UPM with:
cd ~ rm master.zip wget https://github.com/intel-iot-devkit/upm/archive/master.zip unzip master.zip mv upm-master upm
Prepare to build:
cd upm mkdir build cd build cmake ..
Build and install the ili9341 module:
make ili9341 cd src/ili9341 make install