Be careful: The pinout of the DHT11 in our sensor kit is different from the one shown on the photo!
The PCB layout of the PCB board in my sensor kit is different!
Serial Protocol
Line: 215 to 215
Added:
> >
Where is the include file, where the binary of the shared lib?
I installed the include file in /opt/ucc/include
and the library in /opt/ucc/lib.
These are non-standard directories and must be declared in the Makefile
-I /opt/ucc/include for the include file in CFLAGS
-L /opt/ucc/lib for the library path
Since the shared library is loaded separately when running the
main program, it must be found by the system:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/ucc/lib
Documentation
When writing a library that is supposed to be used by other people,