Created
April 12, 2021 11:39
-
-
Save tboydar/868fa93c94e379cf7991e9139ca7e930 to your computer and use it in GitHub Desktop.
Revisions
-
tboydar created this gist
Apr 12, 2021 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,25 @@ ' https://plantuml.com/zh/ ' @startuml header 20210412 title 貓貓鬧鐘 skinparam sequenceArrowThickness 2 skinparam roundcorner 20 skinparam maxmessagesize 60 skinparam sequenceParticipant underline actor User participant "LEDs" as A participant "按鈕" as B participant "蜂鳴器" as E participant "arduino" as D User -> B: 按下按鈕 B->D:按鈕改變狀態 D->E:發出聲音 D->D:產生亂數 a: 1-6, b: 1-6 D->A: 兩排 根據亂數 A B LED 亮 @enduml