[fpc-pascal] FPC/Lazarus on RPi4 - How to read/write I2C connected EEPROM?

Bo Berglund bo.berglund at gmail.com
Sun Apr 2 23:21:38 CEST 2023


On Sun, 2 Apr 2023 23:14:25 +0200, Christo Crause via fpc-pascal
<fpc-pascal at lists.freepascal.org> wrote:

>On Sun, Apr 2, 2023 at 9:30?PM Bo Berglund via fpc-pascal <
>fpc-pascal at lists.freepascal.org> wrote:
>
>> Is there a reason that there is no i2c_write_reg demo in the github
>> package?
>>
>
>I haven't gotten round to that, waiting for hardware to test the code with.
>
>I will try to write one so I can test that as well...
>>
>Would be nice if you could share that :-)

Sure, I will probably continue with this tomorrow (I'm in Europe so it is soon
midnight here...).

If I get it going I will post it or else I will ask about it here.

My hardware is ready and operational, in fact my board also has another EEPROM
(same type) sitting on the i2c-0 bus prepared for being used as a HAT EEPROM.
Haven't gotten that far on the HAT handling though so it is totally unused.


-- 
Bo Berglund
Developer in Sweden



More information about the fpc-pascal mailing list