Skip to content

Instantly share code, notes, and snippets.

@s-hiiragi
Created January 9, 2020 12:09
Show Gist options
  • Save s-hiiragi/48051bd69df854a2378a6eee40ab8014 to your computer and use it in GitHub Desktop.
Save s-hiiragi/48051bd69df854a2378a6eee40ab8014 to your computer and use it in GitHub Desktop.
State machine diagram of KING BLADE X10 V
@startuml "State machine diagram of KING BLADE X10 V"
[*] --> ColorChange : A0.5秒押し(電源ON)
[*] --> ColorChange : A1.5秒押し(色1で電源ON)
[*] --> MemorySetA : B長押し
[*] --> MemorySetB : A&B長押し
ColorChange --> ColorChange : A/B(次/前の色を選択)
ColorChange --> ColorChange : C長押し(推し色を設定)
ColorChange --> HotButton : C(推し色に変更)
ColorChange --> ColorTuning : A&B長押し
ColorChange --> [*] : A長押し(電源OFF)
HotButton --> ColorChange : A or B(戻る)
HotButton --> [*] : A長押し(電源OFF)
MemorySetA --> MemorySetA : A(色を選択)
MemorySetA --> MemorySetA : B(色を追加)
MemorySetA --> MemoryReset : C(メモリーリセットへ)
MemorySetA --> [*] : A or B長押し(確定して電源OFF)
MemoryReset --> MemoryReset : C(メモリーA,Bを選択)
MemoryReset --> [*] : A&B長押し(リセット)
MemorySetB --> MemorySetB : A(色を選択)
MemorySetB --> MemorySetB : B(色を追加)
MemorySetB --> [*] : A or B長押し(確定して電源OFF)
@enduml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment