Modifications

Sauter à la navigation Sauter à la recherche
Aucun changement de taille ,  20 février 2022 à 23:53
Ligne 7 : Ligne 7 :  
== Control an output ==
 
== Control an output ==
 
The onboard LED is tied to the GPIO 25. Here how to control it.
 
The onboard LED is tied to the GPIO 25. Here how to control it.
−
  −
This will work the same with any GPIO pins.
      
<syntaxhighlight lang="python">
 
<syntaxhighlight lang="python">
Ligne 16 : Ligne 14 :  
led.value(0) # Switch off the LED
 
led.value(0) # Switch off the LED
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
 +
This will work the same with any GPIO pins.
    
{{ENG-CANSAT-PICO-TRAILER}}
 
{{ENG-CANSAT-PICO-TRAILER}}
32 920

modifications

Menu de navigation