This is not enough to go on. Are these sensors built into your computer? External sensors with some sort of network connectivity? What? Have you contacted the sensor manufacturer's web site for libraries/api's and such to communicate with them, or even to get their technical specifications?
// Input on RPi pin GPIO 15
#define PIN RPI_GPIO_P1_15
int main(int argc, char **argv)
// If you call this, it will not actually access the GPIO
// Use for testing
// Set RPI pin P1-15 to be an input
// with a pullup
// Read some data
uint8_t value = bcm2835_gpio_lev(PIN);
printf("read from pin 15: %d\n", value);
// wait a bit
I am working creating a fully encapsulated, homogeneous singly linked data structure. The Listing class and SinglyLinkedList class that are part of the whole application compile fine, but the problem ...