Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
maison2:configuration_open_wrt:owfs [04/2012] – [modification owfs] fred | maison2:configuration_open_wrt:owfs [09/2013] (Version actuelle) – [TEST] 86.68.156.71 | ||
---|---|---|---|
Ligne 74: | Ligne 74: | ||
</ | </ | ||
+ | ===== 1 wire error ===== | ||
+ | on ajoute un menu sous webif grace a script suivant (/ | ||
+ | <code bash> | ||
+ | # | ||
+ | <? | ||
+ | . / | ||
+ | header " | ||
+ | cat <<EOF | ||
+ | <h2>1 wire statistics</ | ||
+ | / | ||
+ | EOF | ||
+ | cd / | ||
+ | echo "< | ||
+ | tmp=$(grep | ||
+ | echo $tmp | ||
+ | |||
+ | cd / | ||
+ | echo "< | ||
+ | echo "< | ||
+ | echo "< | ||
+ | |||
+ | cd / | ||
+ | echo "< | ||
+ | echo "< | ||
+ | echo "< | ||
+ | |||
+ | cd / | ||
+ | echo "< | ||
+ | echo "< | ||
+ | echo "< | ||
+ | echo "< | ||
+ | echo "< | ||
+ | ?> | ||
+ | <? footer ?> | ||
+ | <!-- | ||
+ | ## | ||
+ | --> | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | fred@Xubuntu: | ||
+ | CRC8_errors: | ||
+ | CRC8_tries: | ||
+ | ne fonctionne pas avec 20 a la place de 2 .... | ||
+ | |||
+ | mieux : | ||
+ | fred@Xubuntu: | ||
+ | CRC8_errors: | ||
+ | CRC8_tries: | ||
+ | max_delay: | ||
+ | |||
+ | maintenant il faudrait substituer les retour chariot par des <BR> | ||
+ | |||
+ | </ | ||
+ | |||
Ligne 83: | Ligne 138: | ||
root@OpenWrt: | root@OpenWrt: | ||
1, | 1, | ||
+ | |||
+ | pour lire une entree: | ||
+ | root@WL500GP: | ||
+ | sensed passe a 1 quand l’entrée physique est a 5V | ||
+ | |||
+ | les led etant commandé en low side quand on a PIO.X=1 on a sensed.X=0 et inversement | ||
+ | |||
</ | </ | ||
===== test du lien serie ===== | ===== test du lien serie ===== |