blink1_savePattern

Save color pattern in RAM to nonvolatile storage.

For mk2 devices and above. Note this doesn't actually return a proper return value, as the time it takes to write to flash actually exceeds USB timeout

extern (C)
int
blink1_savePattern

Parameters

dev blink1_device*

blink1 device to command

Return Value

Type: int

-1 on error, 0 on success

Meta