Compare commits
No commits in common. "b35e6e6a22b16e6fa60b0806819edd82593ca568" and "2a155fd752094418812a623b37c7d5f4db2cbf6a" have entirely different histories.
b35e6e6a22
...
2a155fd752
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@ -12,7 +12,6 @@
|
||||
<panel_attributes>Button
|
||||
bg=yellow
|
||||
transparency=0
|
||||
layer=1
|
||||
--
|
||||
- id: uint8_t
|
||||
- state: STATE
|
||||
@ -40,7 +39,6 @@ layer=1
|
||||
<panel_attributes>ClickHandler
|
||||
bg=yellow
|
||||
transparency=0
|
||||
layer=1
|
||||
--
|
||||
- state: STATE
|
||||
- longClick: callBack
|
||||
@ -70,7 +68,6 @@ layer=1
|
||||
<panel_attributes>Led
|
||||
bg=yellow
|
||||
transparency=0
|
||||
layer=1
|
||||
--
|
||||
- id: uint8_t
|
||||
--
|
||||
@ -104,7 +101,6 @@ m2=-b</panel_attributes>
|
||||
<panel_attributes>Blinker
|
||||
bg=yellow
|
||||
transparency=0
|
||||
layer=1
|
||||
--
|
||||
- state: STATE
|
||||
- tON: uint16_t
|
||||
@ -144,7 +140,6 @@ layer=1
|
||||
<panel_attributes>Factory
|
||||
bg=yellow
|
||||
transparency=0
|
||||
layer=1
|
||||
--
|
||||
+ init(): void
|
||||
+ build(): void
|
||||
@ -218,7 +213,6 @@ layer=0</panel_attributes>
|
||||
<panel_attributes>App
|
||||
bg=yellow
|
||||
transparency=0
|
||||
layer=1
|
||||
--
|
||||
- state: STATE
|
||||
--
|
||||
|
@ -1,76 +0,0 @@
|
||||
@startuml
|
||||
'https://plantuml.com/sequence-diagram
|
||||
actor User as usr
|
||||
participant "Pb L" as pbL
|
||||
participant "Pb R" as pbR
|
||||
participant "LED L" as ledL
|
||||
participant "LED R" as ledR
|
||||
|
||||
|
||||
== Single click ==
|
||||
|
||||
group Single click left
|
||||
usr -\ pbL ++: pressButton
|
||||
usr -\ pbL : releaseButton
|
||||
pbL -> ledL --++ : blink
|
||||
usr -\ pbL ++: pressButton
|
||||
usr -\ pbL : releaseButton
|
||||
pbL -> ledL -- : endBlink
|
||||
deactivate ledL
|
||||
end
|
||||
|
||||
group Single click right
|
||||
usr -\ pbR ++: pressButton
|
||||
usr -\ pbR : releaseButton
|
||||
pbR -> ledR --++ : blink
|
||||
usr -\ pbR ++: pressButton
|
||||
usr -\ pbR : releaseButton
|
||||
pbR -> ledR -- : endBlink
|
||||
deactivate ledR
|
||||
end
|
||||
|
||||
== Double click ==
|
||||
|
||||
group Double click left
|
||||
usr -\ pbL ++: pressButton
|
||||
usr -\ pbL : releaseButton
|
||||
usr -\ pbL : pressButton
|
||||
pbL -> ledL --++ : blink
|
||||
note right ledL: blink 3x
|
||||
ledL ->x ledL -- : finished
|
||||
end
|
||||
|
||||
group Double click right
|
||||
usr -\ pbR ++: pressButton
|
||||
usr -\ pbR : releaseButton
|
||||
usr -\ pbR : pressButton
|
||||
pbR -> ledR --++ : blink
|
||||
note right ledR: blink 3x
|
||||
ledR ->x ledR -- : finished
|
||||
end
|
||||
|
||||
== Long click ==
|
||||
|
||||
group Long click left
|
||||
usr -\ pbL ++: pressButton
|
||||
pbL -> ledR--: blink
|
||||
activate ledL
|
||||
activate ledR
|
||||
usr -\ pbL ++: pressButton
|
||||
pbL -> ledR -- : endBlink
|
||||
deactivate ledL
|
||||
deactivate ledR
|
||||
end
|
||||
|
||||
group Long click right
|
||||
usr -\ pbR ++: pressButton
|
||||
pbR -> ledR--: blink
|
||||
activate ledL
|
||||
activate ledR
|
||||
usr -\ pbL ++: pressButton
|
||||
pbL -> ledR -- : endBlink
|
||||
deactivate ledL
|
||||
deactivate ledR
|
||||
end
|
||||
|
||||
@enduml
|
File diff suppressed because one or more lines are too long
Before Width: | Height: | Size: 25 KiB |
Reference in New Issue
Block a user