I need to read and write some I2C devices (RTC, EEPROM) on my RPi4.
I am not using C, C++ or Python so I would like to know if there are some Linux basic commands operating on the /dev/i2c-1 device I can use from any language that can handle files?
What I actually use is FreePascal and Lazarus IDE.
I have designed a board that will plug into the 40-pin connector and it has some relay drivers on board operated via GPIO pins, which I can work with already. But it also has some other devices hooked to the I2C bus, which I need to access.
Any suggestions appreciated, except for Python, which I can not use.
Thanks.
(I hope this is the right sub-forum to ask in)