Go to advanced search

by gcb
Sat Jan 19, 2013 4:09 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: C Code for using BMP085 with Raspberry Pi
Replies: 9
Views: 16654

Re: C Code for using BMP085 with Raspberry Pi

try with the -lm option, that links the math library.

Code: Select all

gcc -lm -Wall -o testBMP085 ./smbus.c ./testBMP085.c
by gcb
Wed Jan 02, 2013 9:41 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: I2C interfacing SHT21 sensor
Replies: 11
Views: 16462

Re: I2C interfacing SHT21 sensor

Hello,
take a look at http://www.emsystech.de/raspi-sht21/, (page is in german) some sourcecode is available under http://www.emsystech.de/wp-content/uplo ... V3_0_0.zip.
It works here
by gcb
Sun Jul 29, 2012 3:23 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: kernel patch for Dallas 1-wire interface
Replies: 227
Views: 161332

Re: kernel patch for Dallas 1-wire interface

Yes, it works for me, with the kernel source from https://github.com/raspberrypi/linux.git . I added the patch and started the Kernel Compilation as http://elinux.org/Rpi_kernel_compilation#getting_the_compiler_2 on Ubuntu Copy the new kernel and the modules to the Raspberry Pi . Load the module and...

Go to advanced search