Archived
Compare commits
3
Commits
2a155fd752
...
b35e6e6a22
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b35e6e6a22 | ||
|
|
72f43d9060 | ||
|
|
d48fb874c1 |
No files matched your search
Binary file not shown.
Binary file not shown.
Binary file not shown.
+4585
-862
File diff suppressed because it is too large.
Load diff
@@ -12,6 +12,7 @@
|
||||
<panel_attributes>Button
|
||||
bg=yellow
|
||||
transparency=0
|
||||
layer=1
|
||||
--
|
||||
- id: uint8_t
|
||||
- state: STATE
|
||||
@@ -39,6 +40,7 @@ transparency=0
|
||||
<panel_attributes>ClickHandler
|
||||
bg=yellow
|
||||
transparency=0
|
||||
layer=1
|
||||
--
|
||||
- state: STATE
|
||||
- longClick: callBack
|
||||
@@ -68,6 +70,7 @@ transparency=0
|
||||
<panel_attributes>Led
|
||||
bg=yellow
|
||||
transparency=0
|
||||
layer=1
|
||||
--
|
||||
- id: uint8_t
|
||||
--
|
||||
@@ -101,6 +104,7 @@ m2=-b</panel_attributes>
|
||||
<panel_attributes>Blinker
|
||||
bg=yellow
|
||||
transparency=0
|
||||
layer=1
|
||||
--
|
||||
- state: STATE
|
||||
- tON: uint16_t
|
||||
@@ -140,6 +144,7 @@ transparency=0
|
||||
<panel_attributes>Factory
|
||||
bg=yellow
|
||||
transparency=0
|
||||
layer=1
|
||||
--
|
||||
+ init(): void
|
||||
+ build(): void
|
||||
@@ -213,6 +218,7 @@ layer=0</panel_attributes>
|
||||
<panel_attributes>App
|
||||
bg=yellow
|
||||
transparency=0
|
||||
layer=1
|
||||
--
|
||||
- state: STATE
|
||||
--
|
||||
|
||||
@@ -0,0 +1,76 @@
|
||||
@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
|
||||
@@ -0,0 +1 @@
|
||||
<?xml version="1.0" encoding="us-ascii" standalone="no"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" contentStyleType="text/css" height="1561px" preserveAspectRatio="none" style="width:430px;height:1561px;background:#FFFFFF;" version="1.1" viewBox="0 0 430 1561" width="430px" zoomAndPan="magnify"><defs/><g><rect fill="#FFFFFF" height="62.582" style="stroke:#181818;stroke-width:1.0;" width="10" x="141.5" y="188.4941"/><rect fill="#FFFFFF" height="62.582" style="stroke:#181818;stroke-width:1.0;" width="10" x="141.5" y="282.3672"/><rect fill="#FFFFFF" height="93.873" style="stroke:#181818;stroke-width:1.0;" width="10" x="141.5" y="675.8594"/><rect fill="#FFFFFF" height="31.291" style="stroke:#181818;stroke-width:1.0;" width="10" x="141.5" y="1201.2246"/><rect fill="#FFFFFF" height="31.291" style="stroke:#181818;stroke-width:1.0;" width="10" x="141.5" y="1263.8066"/><rect fill="#FFFFFF" height="31.291" style="stroke:#181818;stroke-width:1.0;" width="10" x="141.5" y="1422.2617"/><rect fill="#FFFFFF" height="62.582" style="stroke:#181818;stroke-width:1.0;" width="10" x="195.5" y="409.5313"/><rect fill="#FFFFFF" height="62.582" style="stroke:#181818;stroke-width:1.0;" width="10" x="195.5" y="503.4043"/><rect fill="#FFFFFF" height="93.873" style="stroke:#181818;stroke-width:1.0;" width="10" x="195.5" y="915.8965"/><rect fill="#FFFFFF" height="31.291" style="stroke:#181818;stroke-width:1.0;" width="10" x="195.5" y="1359.6797"/><rect fill="#FFFFFF" height="93.873" style="stroke:#181818;stroke-width:1.0;" width="10" x="254.5" y="251.0762"/><rect fill="#FFFFFF" height="74.582" style="stroke:#181818;stroke-width:1.0;" width="10" x="254.5" y="769.7324"/><rect fill="#FFFFFF" height="62.582" style="stroke:#181818;stroke-width:1.0;" width="10" x="254.5" y="1232.5156"/><rect fill="#FFFFFF" height="62.582" style="stroke:#181818;stroke-width:1.0;" width="10" x="254.5" y="1390.9707"/><rect fill="#FFFFFF" height="93.873" style="stroke:#181818;stroke-width:1.0;" width="10" x="322.5" y="472.1133"/><rect fill="#FFFFFF" height="74.582" style="stroke:#181818;stroke-width:1.0;" width="10" x="322.5" y="1009.7695"/><rect fill="#FFFFFF" height="62.582" style="stroke:#181818;stroke-width:1.0;" width="10" x="322.5" y="1232.5156"/><rect fill="#FFFFFF" height="62.582" style="stroke:#181818;stroke-width:1.0;" width="10" x="322.5" y="1390.9707"/><rect fill="none" height="207.0371" style="stroke:#000000;stroke-width:1.5;" width="286" x="10" y="145.9121"/><rect fill="none" height="207.0371" style="stroke:#000000;stroke-width:1.5;" width="355" x="10" y="366.9492"/><rect fill="none" height="226.0371" style="stroke:#000000;stroke-width:1.5;" width="335" x="10" y="633.2773"/><rect fill="none" height="226.0371" style="stroke:#000000;stroke-width:1.5;" width="403" x="10" y="873.3145"/><rect fill="none" height="144.4551" style="stroke:#000000;stroke-width:1.5;" width="355" x="10" y="1158.6426"/><rect fill="none" height="144.4551" style="stroke:#000000;stroke-width:1.5;" width="355" x="10" y="1317.0977"/><line style="stroke:#181818;stroke-width:0.5;stroke-dasharray:5.0,5.0;" x1="37" x2="37" y1="83.6211" y2="1478.5527"/><line style="stroke:#181818;stroke-width:0.5;stroke-dasharray:5.0,5.0;" x1="146" x2="146" y1="83.6211" y2="1478.5527"/><line style="stroke:#181818;stroke-width:0.5;stroke-dasharray:5.0,5.0;" x1="200" x2="200" y1="83.6211" y2="1478.5527"/><line style="stroke:#181818;stroke-width:0.5;stroke-dasharray:5.0,5.0;" x1="259" x2="259" y1="83.6211" y2="1478.5527"/><line style="stroke:#181818;stroke-width:0.5;stroke-dasharray:5.0,5.0;" x1="327" x2="327" y1="83.6211" y2="1478.5527"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="29" x="20" y="80.1074">User</text><ellipse cx="37.5" cy="13.5" fill="#E2E2F0" rx="8" ry="8" style="stroke:#181818;stroke-width:0.5;"/><path d="M37.5,21.5 L37.5,48.5 M24.5,29.5 L50.5,29.5 M37.5,48.5 L24.5,63.5 M37.5,48.5 L50.5,63.5 " fill="none" style="stroke:#181818;stroke-width:0.5;"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="29" x="20" y="1492.6602">User</text><ellipse cx="37.5" cy="1504.6738" fill="#E2E2F0" rx="8" ry="8" style="stroke:#181818;stroke-width:0.5;"/><path d="M37.5,1512.6738 L37.5,1539.6738 M24.5,1520.6738 L50.5,1520.6738 M37.5,1539.6738 L24.5,1554.6738 M37.5,1539.6738 L50.5,1554.6738 " fill="none" style="stroke:#181818;stroke-width:0.5;"/><rect fill="#E2E2F0" height="32.6211" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="43" x="125" y="50"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="29" x="132" y="72.1074">Pb L</text><rect fill="#E2E2F0" height="32.6211" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="43" x="125" y="1477.5527"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="29" x="132" y="1499.6602">Pb L</text><rect fill="#E2E2F0" hLine truncated
|
||||
|
After Width: | Height: | Size: 25 KiB |
Reference in new issue
Block a user