Hello guys,
a little bit late to the party I guess, but I’m trying to use this driver on my Patch_SM with Oopsy and I receive the “compiler error” message when trying to upload the patch on my board. I’m currently using this json, removed all the knobs and switches controls to focus on the leds declaration. Also the patch it’s pretty basic: a single knob controlling the brightness of the red pin of the first rgb.
I’m a little bit confused on how to declare the driver and the leds inside the json file, but I really do not understand what I’m missing, can anyone help?
{
"name": "testrgb3",
"som": "patch_sm",
"audio": {
"channels": 2
},
"parents": {
"i2c": {
"component": "i2c",
"pin": {
"scl": "B8",
"sda": "B7"
}
},
"led_driver": {
"component": "PCA9685",
"address": "{0x40}",
"parent": "i2c",
"driver_count": 1
}
},
"components": {
"led_1": {
"component": "Led",
"index": 0,
"parent": "led_driver"
},
"cv_1": {
"component": "AnalogControl",
"pin": "C5"
}
},
"aliases": {
"knob": "cv_1",
"knob1": "cv_1",
"ctrl": "cv_1",
"ctrl1": "cv_1"
}
}
