Ordinateur de bord pour voiture de collection 7.1
Public Member Functions | List of all members
GPIOOUT Class Reference

Raspberry GPIO direct acces in output mode. More...

Inheritance diagram for GPIOOUT:
Capteur

Public Member Functions

def __init__ (self, Name, Voie=None)
 the constructor. More...
 
def Write (self, etat=False)
 write the state of the output More...
 
- Public Member Functions inherited from Capteur
def __init__ (self, Name, Module, Voie)
 The constructor. More...
 
def Compens (self, a=1, b=0)
 entre une valeur de compensation (à supprimer) More...
 
def Read (self)
 retourne la valeur lue du capteur More...
 
def Switch (self)
 forcement booleen, pas de parametre (à supprimer) More...
 
def Write (self, Val)
 ecrit sur une sortie (PWM ou Tout ou Rien) More...
 

Additional Inherited Members

- Public Attributes inherited from Capteur
 Name
 
 Voie
 
- Static Public Attributes inherited from Capteur
 Module = None
 

Detailed Description

Raspberry GPIO direct acces in output mode.


it used for OpenAuto management for example.
The configuration is Out with Pull-Up.

Parameters
Name(string) : the name
Voie(int) : the number of GPIO pin (mode is "GPIO.BOARD")
Date
6.2 11 aout 2020 création

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  Name,
  Voie = None 
)

the constructor.

Reimplemented from Capteur.

Member Function Documentation

◆ Write()

def Write (   self,
  etat = False 
)

write the state of the output

Parameters
etat(boolean) : True to set, False to reset

Reimplemented from Capteur.


The documentation for this class was generated from the following file: