Oopsy Update Prerelease! Want to Try the New Features Early?

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"
    }
}
2 Likes