We are trying to write our own drivers for an i2c board used for individually timed firing of analogue sonars.
We kept the architecture very close to the one for the rangefinder through i2c.
We have already written the following pieces:
We added the driver in:
Everything is compiling and the pixhawk boots. But still there are no values coming true. Not even a zero.
Are we missing a piece?
We think there should be (somewhere) defined how the pixhawk knows what driver to use when you attach an extra element through i2c. But how and where does this happen?
We appreciate any help.