C example fetching temperature from all DS18S20 sensors on the bus. More...
#include <stdio.h>
#include <unistd.h>
#include "libpruio/pruio.h"
#include "libpruio/pruio_pins.h"
#include "../c_include/pruw1.h"
Go to the source code of this file.
Functions | |
int | main (int argc, char **argv) |
The main function. More... | |
C example fetching temperature from all DS18S20 sensors on the bus.
This example demonstrates how to
Check the output for enabled monitoring feature as well, see section Monitoring Feature for details.
Definition in file onlyDS18S20.c.
int main | ( | int | argc, |
char ** | argv | ||
) |
The main function.
create new driver structure
< pointer to measurement result
< The checksum (0 = OK).
Definition at line 28 of file onlyDS18S20.c.