no template this far, but I hope that we have that in the future. But I can recommend you to have a look into the existing driver libraries. Those are provided in source, in the hope that they are usefull.

Everyone seriously interested in driver development on the Pi is welcome to leave me a PM.

BR,
Ingo

Gesendet von meinem LG-H870 mit Tapatalk

If you would like to refer to this comment somewhere else in this project, copy and paste the following link:

Hi!
Currently I only have some draft documentation for SPI. If you have some time left, I can provide you the first I2C draft as soon as it is available (via E-Mail).
If not, I can try to assist you in the creation of your specific driver.

Just let me know what you prefer.

BR,
Ingo

Gesendet von meinem LG-H870 mit Tapatalk

If you would like to refer to this comment somewhere else in this project, copy and paste the following link:

Hey Ingo, you can email me and I can go from there for the time being. my email is simple, its my username here then gmail. Thanks for your help. I found a bit of documentation in the manual that I think would get me by, through lots of trial and error.

On another note, my Raspberry Pi Zero just fried, I will need to get another board, do i have any luck getting the license on the new board that you or anyone here knows of?

If you would like to refer to this comment somewhere else in this project, copy and paste the following link:

Ingo Hornberger hat geschrieben:
Hi!
Currently I only have some draft documentation for SPI. If you have some time left, I can provide you the first I2C draft as soon as it is available (via E-Mail).
If not, I can try to assist you in the creation of your specific driver.

Ingo

I would like to create a driver for a INA226 device, would you be able to give me some quick guidance on how I create the library? I have seemed to figure out how to Add
an existing Library, but how would I go about actually creating a new one?

If you would like to refer to this comment somewhere else in this project, copy and paste the following link:

I have the same problem. I bought the new Pixtend V2. Old I²C examples doesn't run properly in the new Codesys Software. I can't see the source code, only when fail. A double click on the error opens the code. The librarys gets many errors.

Why is the source hidden? Some of us need only a small example for I²C-Bus i.e. step by step create a device.

Anyone confirm whit the new Pixtend V2?

If you would like to refer to this comment somewhere else in this project, copy and paste the following link:

I've got a sensor that i need to interface with on a machine i'm upgrading.. the thing is it produces a 5 digit BCD output... (which is a load of pins... ) so my plan is to program up a little arduino mega, and then use i2c to send the value into the PLC, (which is an raspberry Pi)

so looking at some of the FB examples of the i2c seems i can just pick the data off the bus,

but having not tested it yet i'm hoping someone has an example.. or give me some guidance..

thanks

Pb

If you would like to refer to this comment somewhere else in this project, copy and paste the following link:

CODESYS Group | We software Automation.
The CODESYS Group is the manufacturer of CODESYS, the leading hardware-independent IEC 61131-3 automation software for developing and engineering controller applications.
3S-Smart Software Solutions GmbH
A member of the CODESYS Group
Memminger Straße 151, 87439 Kempten
Germany
Tel.: +49-831-54031-0
info@codesys.com