Commit 1496fa4f9d715798e95ce658d2212c7ae4f81598
1 parent
fe0eb67b
MAJ site
Showing
1 changed file
with
3 additions
and
3 deletions
Show diff stats
site/reception.php
... | ... | @@ -26,17 +26,17 @@ if(isset($_POST['sensor'])) |
26 | 26 | if($version == 0) |
27 | 27 | { |
28 | 28 | $a_simple = true; |
29 | - $arduino_simple = $arduino_simple.$val[0]." capteur=".$val[1]."\n"; | |
29 | + $arduino_simple = $arduino_simple.$val[0]." capteur=".$val[1]."-".$version."\n"; | |
30 | 30 | } |
31 | 31 | elseif($version == 1) |
32 | 32 | { |
33 | 33 | $a_spi = true; |
34 | - $arduino_spi = $arduino_spi.$val[0]." capteur=".$val[1]."\n"; | |
34 | + $arduino_spi = $arduino_spi.$val[0]." capteur=".$val[1]."-".$version."\n"; | |
35 | 35 | } |
36 | 36 | elseif($version == 2) |
37 | 37 | { |
38 | 38 | $n = true; |
39 | - $nucleo = $nucleo.$val[0]." capteur=".$val[1]."\n"; | |
39 | + $nucleo = $nucleo.$val[0]." capteur=".$val[1]."-".$version."\n"; | |
40 | 40 | } |
41 | 41 | } |
42 | 42 | ... | ... |