We're no longer updating This wiki!!

This is an old revision of the document!


WEATHER-BOARD with 16x2 LCD on ODROID-C

I2C settings

Add I2C module

sudo modprobe aml_i2c
ls /dev/i2c-*
/dev/i2c-1  /dev/i2c-2  /dev/i2c-3  /dev/i2c-4

To always load the kernel module on boot up, run the following command.

echo "aml_i2c" | sudo tee -a /etc/modules

Download & Run

git clone https://github.com/hardkernel/WEATHER-BOARD.git
cd WEATHER-BOARD/c_weather
make

Check your I2C node, and run the program.

sudo ./wether_board

or

sudo ./weather_board /dev/i2c-2

en/wb_c_16x2lcd.1446453354.txt.gz · Last modified: 2015/11/02 17:05 by john1117
CC Attribution-Share Alike 3.0 Unported
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0