• Nice, thanks! How does the hue work? Blue->red rainbow colors?


    t.hexToColor = (hexChar)=> {
        var hue = parseInt(hexChar,16) / 16;
        var rgb = hueToRGB(hue);
        return rgb;

    The colors are a nice "visual hash" of the Puck address.

    It's annoying that I don't have control of the Web Bluetooth device listing, because then I could put the 4 colors next to each Puck in the list!

    It would still be useful to find a way to put the address of the currently connected Puck in the IDE. Puck address colors would be very cool. When working with multiple Pucks (I got your 5-pack on Kickstarter), I lose track of which one is connected in the IDE.


Avatar for oesterle @oesterle started