plugdata icon indicating copy to clipboard operation
plugdata copied to clipboard

Non-audio I/O not working when flashing patch to Daisy Seed

Open sonicdebris opened this issue 10 months ago • 1 comments

First, thanks for the effort in providing Daisy Seed support in the app!

I am on ubuntu 22.04, using plugdata build from the apt repos.

I succesfully managed to load a simple patch to my Daisy Seed using plugdata: audio I/O works, but apparently sending data to the GPIO doesn't. Specifically, I am trying to blink the user led, basically following electrosmith's getting started guide, using this custom json, taken straight from the guide:

{
	"name": "patch",
  	"som": "seed",
  	"components": {
    	"led": {
    	"component": "UserLed"
    	} 
    }
}

And sending one and zero to a [s led @hv_param] object.

Everything fully works when flashing the Seed using pd2dsy from terminal (using the tool installed using electrosmith's instructions). Interestingly, if I don't select my custom json and select "seed" as the board, compilation will fail because of missing "led" label.

In case it helps, this is the patch:

#N canvas 236 572 1408 796 12;
#X obj 319 133 adc~;
#X obj 267 300 dac~;
#X obj 150 138 osc~ 220;
#X obj 224 196 *~;
#X obj 301 199 *~;
#X obj 493 106 loadbang;
#X obj 493 135 tgl 15 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000 0 1;
#X obj 493 230 s led @hv_param;
#X obj 493 198 tgl 15 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000 0 1;
#X obj 272 263 *~ 0.3;
#X text 493 81 Blink the Daisy's user led;
#X text 31 86 Output a pure tone \, and what's being feed to the audio input both signals amplitude-modulated.;
#X text 150 31 PATCH TO LOAD INTO THE DAISY SEED;
#X obj 224 138 osc~ 0.8;
#X obj 493 166 metro 800;
#X connect 0 0 4 1 empty;
#X connect 0 1 4 1 empty;
#X connect 2 0 3 0 empty;
#X connect 3 0 9 0 empty;
#X connect 4 0 9 0 empty;
#X connect 5 0 6 0 empty;
#X connect 6 0 14 0 empty;
#X connect 8 0 7 0 empty;
#X connect 9 0 1 0 empty;
#X connect 9 0 1 1 empty;
#X connect 13 0 3 1 empty;
#X connect 13 0 4 0 empty;
#X connect 14 0 8 0 empty;

sonicdebris avatar Aug 27 '23 17:08 sonicdebris