@startuml
interface light
interface Bluetooth
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 (Arduino)" {
Bluetooth -down- [Collect]
[Collect] - [Align]
[Align] - [Qualify]
[Qualify] - [Conclude]
}
@enduml