I'd like to make a library to my I2C device and I have question how to add line in configuration window of device like in attachment ?
this you need to add in the device descripton:
"c:\Users\<yourwindowsname>\CODESYS Control for Raspberry PI\22.214.171.124\Devices\MCP23S17.devdesc.xml"
"c:\Users\<yourwindowsname>\CODESYS Control for Raspberry PI\126.96.36.199\Libraries\SPI_MCP23S17.library"
Then you need to extend the library to read the paramter.</yourwindowsname></yourwindowsname>
After changing adding lines in the devicedescription the steps should be:
Install the devicedescription to the device repoditory and then execute update device by rightclick in the device tree -> update device (then the edited and Change devdesc is used)
Hello! I need to add a I2C device AM2315 (https://learn.adafruit.com/am2315-encas ... duino-code)
to my project, how to do this for my raspberry?
I cant found it in the list ... may be I have to download a Adafruit package?
Hi Fabio, many are doing their own drivers in forge take a look at the documentation how to.
Can seem a little daunting but really it is achievable.
Please let me know if you get stuck or want advice on a particular point. You can also ask in forge itself
Log in to post a comment.