[Lazarus] FPC interface for reading I2C devices on Raspberry Pi?

Bo Berglund bo.berglund at gmail.com
Tue Nov 12 10:11:49 CET 2019


I would like to be able to communicate on the I2C bus from my
FPC/Lazarus programs on Raspberry Pi.

There are at least two cases:
1) Reading devices like RTC chips and other sensors.
2) Reading/writing data stored in EEPROM chips

Since the Raspbian system is a Debian Linux derivative I am hoping
there could be a simple way using file I/O, but I don't know how...

Any suggestions?
Software to install in Raspbian?
Packages to install in Lazarus?

I am already using the GPIO I/O via the PiGpio unit and it works well
to read and write I/O pins...


-- 
Bo Berglund
Developer in Sweden



More information about the lazarus mailing list