microsoft / jacdac

Device and service catalogs for Jacdac.
https://aka.ms/jacdac
Creative Commons Attribution 4.0 International
66 stars 25 forks source link

VM should turn on devices when setting value #404

Closed pelikhan closed 3 years ago

pelikhan commented 3 years ago

It's too much hassle to require to turn on a servo before setting the angle.

When the VM wants to set a "value" register and there is a boolean "intensity" register, it should set it to true first.

tballmsft commented 3 years ago

Done. https://github.com/microsoft/jacdac-ts/commit/6a589dbd0103429582ad5c56cc9995934606b0d8