Linux I2C Subsystem

Linux I2C Subsystem

I'm a Pro! Yes You Are!

I'm a pro! (turning our sensor code into a module). The full code for our LCD driver is here:

From SourceCodeCat Github

root@edison:~# cd
root@edison:~# cd TheIoTLearningInitiative/Sensors
root@edison:~/TheIoTLearningInitiative/Sensors#
root@edison:~/TheIoTLearningInitiative/Sensors# mkdir LKM
root@edison:~/TheIoTLearningInitiative/Sensors# cd LKM/
root@edison:~/TheIoTLearningInitiative/Sensors/LKM#

Source Code

root@edison:~/.../LKM# wget https://raw.githubusercontent.com/SourceCodeCat/IoTCodeExamples/master/I2C/JHD1313M2.c
root@edison:~/.../LKM# wget https://raw.githubusercontent.com/SourceCodeCat/IoTCodeExamples/master/I2C/JHD1313M2.h

Compilation

Execution

SysFs

SysFs Text

SysFs RGB Color

Last updated