Display humidity & temperature through framebuffer. (w/ Weather-Board-Zero)
You need to compile the Linux kernel with framebuffer options enabled and connect OLED which is portable with ssd1306 / ssd1315.
Then, you can check framebuffer files in your /dev
directory.
$ ls /dev/fb*
/dev/fb0 /dev/fb1
You need to connect the Weather-Board-Zero module to gather information about humidity and temperature. () This module is made for ODROID models in hardkernel, but I think it's possible to connect with other board which supports I2C protocol.
For me, I also used MULTIIO Training Board for ODROID-M1S, so maybe you need other gadgets to make this thing work as expected. ()
You can contol this program by systemd
. sudo make install
will automatically register program into systemd
. You can also unregister the program by sudo make uninstall
command.
It's just a toy program, so don't expect too much about functionality!
But I think it has some interesting topics, like displaying bitmap fonts in monochrome screen etc...
By the way, sorry for dirty code XD