Skip to content

Commit

Permalink
Update DELClignotante.wsd
Browse files Browse the repository at this point in the history
  • Loading branch information
PiFou86 committed Oct 31, 2022
1 parent e2c19c6 commit 720e54b
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions Module04_ProgrammationSorties/diag/DELClignotante.wsd
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,15 @@ note left of main_cpp
main.cpp et les fonctions setup / loop.
- Déclarez un pointeur de Program
- Dans la fonction setup :
- Allouer un Program et l'affecter au pointeur
- Appelez la méthode setup du pointeur
- Allouer un Program et l'affecter au pointeur : le constructeur va initialiser ses données membres
- Dans la fontion loop :
- Appelez la méthode loop du pointeur
end note

class Program {
+ setup()
- m_DELClignotante1 : DELClignotante *
- m_DELClignotante2 : DELClignotante *
+ ctor()
+ loop()
}

Expand All @@ -37,12 +38,12 @@ class DELClignotante {
- m_dureeEteinte : int
...
+ DELClignotante(p_pin : int, p_rapportCycle : float, p_dureeAllumee : int, p_dureeEteinte : int)
+ loop()
+ tick()
}

main_cpp --> Program : create
Program --> DELClignotante : create

DEL <|-- DELClignotante

@enduml
@enduml

0 comments on commit 720e54b

Please sign in to comment.