-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
Hello,
Looking at SenseHat.jl code, I noticed (for example)
Line 36 in a30a6cd
humidity() = HTS221_humidity() |
Maybe you should consider making use of type dispatch
abstract type AbstractSensor end
struct HTS221 <: AbstractSensor
end
humidity() = humidity(HTS221())
Kind regards
PS : I didn't test code
Metadata
Metadata
Assignees
Labels
No labels