aboutsummaryrefslogtreecommitdiff
path: root/components.puml
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2025-04-18 01:32:19 +0200
committerJonas Smedegaard <dr@jones.dk>2025-04-18 01:32:19 +0200
commit1d7cc3166df9228f8ec91e100a4c66e66996d472 (patch)
tree7bf194fe31999958bef4eaf406e2d417b6e23dfd /components.puml
parent6ca4ff06867aa5d7354615c828bd83234d827ff2 (diff)
add light sketch to componion
Diffstat (limited to 'components.puml')
-rw-r--r--components.puml10
1 files changed, 8 insertions, 2 deletions
diff --git a/components.puml b/components.puml
index dd09477..a322574 100644
--- a/components.puml
+++ b/components.puml
@@ -1,10 +1,16 @@
@startuml
+interface light
interface Bluetooth
-package Sensor {
+package "light (P5.js)" {
+[Button] - [Daylight or moonlight]
+[Daylight or moonlight] -down- light
+}
+package "sensor (Arduino)" {
+light -down- [Read]
[Read] - [Normalize]
[Normalize] -down- Bluetooth
}
-package Vote {
+package "vote (Arduino)" {
Bluetooth -down- [Collect]
[Collect] - [Align]
[Align] - [Qualify]