Hello!
I was wondering if someone could help me with my problem of implementing a gate input on my Daisy Seed. The following PlugData patch will successfully compile to a Daisy patch.Init when I select it as a target board. Everything works great. The problem starts when I try to compile this same patch to a Daisy Seed. Posted below is my current JSON file. I’ve tried many things, but I cannot get the gate portion to compile without error. Note that that this patch and JSON file work great with the Daisy Seed if I omit the gate portion (trigging the sound via the switch). What am I missing? I did find a compenent_defs.json resource file on Github- Do I need something from this? I’ve tried implementing the GateIn info from there, but haven’t had any luck (I think I need to know where to insert if this is needed). I’m also attaching a compiler error message to give some more info on the situation. Any help would be greatly appreciated!
{
"name": "customseed",
"som": "seed",
"components": {
"ctrl1": {
"component": "AnalogControl",
"pin": 15
},
"ctrl2": {
"component": "AnalogControl",
"pin": 16
},
"sw1": {
"component": "Switch",
"pin": 13
},
"Gate1_Trig": {
"component": "GateIn",
"pin": "13",
"default": true
}
}
}