void onJsonReceived(JsonObject &root, ShieldEvent *shieldEvent) override
Event called when a valid json message was received. Consumes the proper values for this sensor...
Definition: Compass.cpp:45
Compass(const VirtualShield &shield)
Initializes a new instance of the Compass class.
Definition: Compass.cpp:36