Available on crate feature
gpio
only.Expand description
A GPIO pin wrapped in a CoAP resource
This expresses the pins as a CBOR resource that’s true for high and false for low.
-
There is nothing RIOT specific about this; maybe there should be embedded-hal-coap-demos?
Probably not, as while now this only maps in and out pins, a future version could allow putting a configuration there as well, and that exceeds what embedded-hal can do.