Posts: 14
Joined: Tue Apr 16, 2019 3:54 am
Location: California

pigpio header: PI_I2C_COMBINED

Tue May 14, 2019 5:55 am

this is "/sys/module/i2c_bcm2708/parameters/combined" ?

Should it be this, or '2835'?

Or is this a moot point in the new driver?

Does it make any difference?

(Really, I'm not trying to pick on your code. Minor stuff like this just jumps out at me.)

My intended usage: the pca9685 card using the daemon and not python.
I would love to find C code for your library, but can only find the python.

I *think* I can move any C code to FreeBASIC. So far, the headers I have made work. (Blink and pwm LEDs.)

I'm not so good at either (C, python), but I'm going to try.

If you don't try - you lose - a u t o m a t i c a l l y

User avatar
Posts: 13925
Joined: Thu Jul 05, 2012 5:09 pm
Location: UK

Re: pigpio header: PI_I2C_COMBINED

Tue May 14, 2019 7:59 am

The flag is only relevant to the old I2C driver. The new driver is meant to handle I2C restarts properly.

Return to “C/C++”