Tue, 06 May 2014 13:24:25 +0200
Sensor reading is done in a thread
26
9322c619c525
Added coolers program, first draft
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
1 | #ifndef MY_SENSORS_H |
9322c619c525
Added coolers program, first draft
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
2 | #define MY_SENSORS_H |
9322c619c525
Added coolers program, first draft
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
3 | |
27
4703cc10b99a
Sensor reading is done in a thread
Michiel Broek <mbroek@mbse.eu>
parents:
26
diff
changeset
|
4 | #ifdef HAVE_WIRINGPI_H |
4703cc10b99a
Sensor reading is done in a thread
Michiel Broek <mbroek@mbse.eu>
parents:
26
diff
changeset
|
5 | |
4703cc10b99a
Sensor reading is done in a thread
Michiel Broek <mbroek@mbse.eu>
parents:
26
diff
changeset
|
6 | PI_THREAD (my_sensors_loop); |
26
9322c619c525
Added coolers program, first draft
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
7 | |
9322c619c525
Added coolers program, first draft
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
8 | #endif |
27
4703cc10b99a
Sensor reading is done in a thread
Michiel Broek <mbroek@mbse.eu>
parents:
26
diff
changeset
|
9 | |
4703cc10b99a
Sensor reading is done in a thread
Michiel Broek <mbroek@mbse.eu>
parents:
26
diff
changeset
|
10 | #endif |