The JSON component has an “invert” key that is set to “true” by default. This sets the init
parameter for the libDaisy Led
class. This matches the polarity of the Daisy Pod, for example. If you want to change the value, you can do so like this:
{
"led1": {
"component": "Led",
"pin": 28,
"invert": "false"
}
}