![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
asdf
Dependencies: Servo mbed mbedConnectorInterface mbedEndpointNetwork
Fork of TempAndDistTest by
Diff: resource/ServoResource.h
- Revision:
- 4:20feba0e781b
- Parent:
- 3:c17adf68862b
--- a/resource/ServoResource.h Sat May 09 18:40:08 2015 +0000 +++ b/resource/ServoResource.h Sat May 09 19:00:40 2015 +0000 @@ -7,12 +7,13 @@ class ServoResource : public DynamicResource { public: ServoResource(const Logger *logger, const char *name, Servo *servo, const bool observable = false) - : DynamicResource(logger, name, "ServoResource", SN_GRS_GET_ALLOWED, observable), servo(servo) + : DynamicResource(logger, name, "ServoResource", SN_GRS_PUT_ALLOWED, observable), servo(servo) {} void on(); void off(); + virtual void put(const string); virtual string get(); private: