Alloy Backlight API

Is there an Alloy API to trigger the backlight? The documentation currently at Backlight // Pebble Developers looks like it’s in C.

2 Likes

It looks like this was supported in a recent Moddable SDK release. It should be usable in a future Pebble firmware and Pebble SDK releases.

3 Likes

The example at Moddable seems to only turn the backlight on and off. Hopefully we get full RGB control in JS soon.

My watchface looks really cool with a coloured RGB backlight but don’t want that the whole time for the OS.

2 Likes

Yup, looks like the watch.light() function in the js example takes a boolean. It’s a step in the right direction.

1 Like