Activity for shinxis

  • shinxis shinxis posted a comment on discussion Runtime 🇬🇧

    Hi! I'm a newbie and spent too much time with the same problem. Here's a solution that hopefully saves some time for someone else. First of all, add I2C Library; Choose Library Manager device, click Add Library button, search for i2c and select "i2c". Right-click I2C in the Devices list, select Add Device, I2C master. We can now use the functions in the Raspberry Pi Peripherals package (included in Codesys) or whatever you're on. Here's two function Blocks that'll do the magic. // ---------- PLC_PRG:...

1