Modifications

Sauter à la navigation Sauter à la recherche
57 octets ajoutés ,  20 mai 2017 à 12:11
Ligne 56 : Ligne 56 :  
Try running the above command with the second switch pressed and then again with it unpressed and you should get different results.
 
Try running the above command with the second switch pressed and then again with it unpressed and you should get different results.
   −
== Port input/output ==
+
== input_port et output_port ==
 
You can read the whole input port by reading the value of the input_port attribute:
 
You can read the whole input port by reading the value of the input_port attribute:
 
   
 
   
Ligne 64 : Ligne 64 :     
  pfd.output_port.value = 0xAA
 
  pfd.output_port.value = 0xAA
 +
 +
== Exemples python ==
 +
 +
=== Activer un relai ===
    
{{PiFace2-Manuel-TRAILER}}
 
{{PiFace2-Manuel-TRAILER}}
29 917

modifications

Menu de navigation