devicescript icon indicating copy to clipboard operation
devicescript copied to clipboard

use constructor binding arguments instead of "start..." functions

Open pelikhan opened this issue 2 years ago • 0 comments

instead

const led = startLightBulb({ pin: })

do

const led = new LightBuld({ pin: ...})

pelikhan avatar Mar 31 '23 23:03 pelikhan