From 2e87afcdd54d4592dcc937cea9ec3f283ee6726c Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Sat, 1 Jun 2024 14:28:58 +0200 Subject: WIP puzbusv2??? --- docs/img/busmaster-sequence.puml | 22 ++++++++++++++++++++++ docs/img/busmaster-sequence.svg | 1 + docs/img/puzzle-module-common-state.svg | 2 +- docs/img/theme.ipuml | 6 ++++++ 4 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 docs/img/busmaster-sequence.puml create mode 100644 docs/img/busmaster-sequence.svg create mode 100644 docs/img/theme.ipuml (limited to 'docs/img') diff --git a/docs/img/busmaster-sequence.puml b/docs/img/busmaster-sequence.puml new file mode 100644 index 0000000..362227a --- /dev/null +++ b/docs/img/busmaster-sequence.puml @@ -0,0 +1,22 @@ +@startuml +!include theme.ipuml + +participant "Main controller\n(0x00)" as main +participant "Vault PM\n(0x08)" as a +participant "NeoTrellis PM\n(0x09)" as b +participant "NeoTrellis unit 1\n(0x2e)" as neo1 +participant "NeoTrellis unit 2\n(0x2f)" as neo2 + +activate main +main -> a --++: SEX? +a -> main --++: SEX +||| +main -> b --++: SEX? +b -> neo1: I2C write +neo1 -> b: I2C read +b -> neo2: I2C write +neo2 -> b: I2C read +b -> main --++: SEX +||| + +@enduml diff --git a/docs/img/busmaster-sequence.svg b/docs/img/busmaster-sequence.svg new file mode 100644 index 0000000..22d9161 --- /dev/null +++ b/docs/img/busmaster-sequence.svg @@ -0,0 +1 @@ +Main controller(0x00)Vault PM(0x08)NeoTrellis PM(0x09)NeoTrellis unit 1(0x2e)NeoTrellis unit 2(0x2f)SEX?SEXSEX?I2C writeI2C readI2C writeI2C readSEX \ No newline at end of file diff --git a/docs/img/puzzle-module-common-state.svg b/docs/img/puzzle-module-common-state.svg index b5688ef..a3ac4bb 100644 --- a/docs/img/puzzle-module-common-state.svg +++ b/docs/img/puzzle-module-common-state.svg @@ -1,3 +1,3 @@ -
Uninitialized
Reset
Playing
Solved
\ No newline at end of file +
uninitialized
uninitialized
idle
idle
playing
playing
solved
solved
\ No newline at end of file diff --git a/docs/img/theme.ipuml b/docs/img/theme.ipuml new file mode 100644 index 0000000..23e0ce5 --- /dev/null +++ b/docs/img/theme.ipuml @@ -0,0 +1,6 @@ +!theme plain +skinparam DefaultFontSize 14 +skinparam DefaultFontName Inter +skinparam RoundCorner 0 +skinparam maxMessageSize 200 +hide footbox -- cgit v1.2.3