Initial commit
Initial commit
Initial commit from raspi
Removing dht22 project
Initial commit
Deleted old files
Updated sensor version from DHT22 -> AM 2302
Adding new C library libdth.a compile from the o files using ar cq *.o'
Adding shared C library libdht.so

Used command ld -G *.o -o libdth.so to create the Dynamic C library.
Adding new sample package and Java files; consider guide http://jonisalonen.com/2012/calling-c-from-java-is-easy/
Created sample_DhtRead.c from generated sample_DhtRead.h

See http://jonisalonen.com/2012/calling-c-from-java-is-easy/
On the Mac, used the following command to compile the sample_DhtRead.c
file:

gcc -fPIC -c sample_DhtRead.c -I
/Library/Java/JavaVirtualMachines/jdk1.8.0_05.jdk/Contents/Home/include/
-I
/Library/Java/JavaVirtualMachines/jdk1.8.0_05.jdk/Contents/Home/include/darwin/

Created shared library:

gcc sample_DhtRead.o -shared -o libdhtread.so -Wl,-install_name,dhtread
(on Mac the command gcc sample_DhtRead.o -shared -o libdhtread.so
-Wl,-soname,dhtread did not work: replaced 'soname' with 'install_name')
adding sample project 'dhtread-sample'
Incluing .so files again
Adding .so files
Adding pi_dht_read
new sample files
common c files
Trying to compile on raspi
Sample project can now run successfully