-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfiguration.php
executable file
·58 lines (49 loc) · 1.2 KB
/
configuration.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<?php
/*
@nom: configuration
@auteur: piwebpool ([email protected])
@description: customizing file
*/
//
//
//Tableau de correspondant PIN physiques/PIN Logiques (de la librairie wiringPI)
$pins = array();
$pins[3] = 8;
$pins[5] = 9;
$pins[7] = 7;
$pins[11] = 0;
$pins[13] = 2;
$pins[15] = 3;
$pins[19] = 12;
$pins[21] = 13;
$pins[23] = 14;
$pins[8] = 15;
$pins[10] = 16;
$pins[12] = 1;
$pins[16] = 4;
$pins[18] = 5;
$pins[22] = 6;
$pins[24] = 10;
$pins[26] = 11;
$materials = array(
"filtration"=>11,
"traitement1"=>16,
"traitement2"=>12,
"pac"=>15);
//correspondance to the sql table (do not change)
$materialsColumn = array(
"filtration"=>"pump",
"traitement1"=>"treatment1",
"traitement2"=>"treatment2",
"pac"=>"pac"
);
$options = array();
$options["database"] = array();
$logfilename = "logfile.txt";
// Database host: if omitted defaults to localhost.
$options["database"]["host"] = "localhost";
// Basic database information. These are required.
$options["database"]["name"] = "pool";
$options["database"]["username"] = "root";
$options["database"]["password"] = "piwebpool";
?>