You are seeing warnings about the compiler expecting channelClassName
to be declared as const char*
, but in the examples it has been declared as char*
. This issue has been fixed for the next release.
However, these are only warnings, and the code will work properly despite them, so your real problem is elsewhere.
I recommend running the Manager / HelloWorld
C example to verify that your Raspberry Pi recognizes your Bridge Input. You can find that in our list of C Examples
. That program will list all Phidgets on your machine.
For the time being, also make sure no other Phidgets-related programs are running when you run the example to be certain the device is not being used by another program. Multiple Phidgets programs can run at the same time, but devices cannot be shared between them (unless they are used over the network).
And to confirm, is the device you are using the 1046 BridgeInput?