17 |
17 |
18 Current threads. |
18 Current threads. |
19 ---------------- |
19 ---------------- |
20 |
20 |
21 These are the current running threads. |
21 These are the current running threads. |
22 1. my_devices_loop. |
22 1. my_one_wire_loop. |
23 2. my_server_loop. |
23 2. my_devices_loop. |
24 3. my_panel_loop. |
24 3. my_server_loop. |
25 4. my_simulator_loop (if enabled). |
25 4. my_panel_loop. |
|
26 5. my_simulator_loop (if enabled). |
26 |
27 |
27 |
28 |
28 |
29 |
29 Steps to do. |
30 Steps to do. |
30 ------------ |
31 ------------ |
31 |
32 |
32 Write a new thread for the one-wire devices. Make it a dynamic table. The |
|
33 old device table is still needed to tie devices to fermenters. |
|
34 Try to read all temperature sensors at once. The kernel supports this now. |
33 Try to read all temperature sensors at once. The kernel supports this now. |
35 The devices thread needs to use the collected temperatures. |
34 The devices thread needs to use the collected temperatures. |
36 Read all ds2413 devices from sys/bus/w1. If output bits are set different |
35 Read all ds2413 devices from sys/bus/w1. If output bits are set different |
37 then send output values. |
36 then send output values. |
38 Create tables for ds28b20 and ds2413. Simulated and real sensors should |
|
39 share these tables. |
|
40 |
37 |
41 |
38 |
42 Add pigpio library and make it testable by the configure script. |
39 Add pigpio library and make it testable by the configure script. |
43 |
40 |
44 |
41 |