I have many completed projects in SPIN and often clip pieces of code for use in new projects... this saves a tremendous amount of time.
I would like to be able to do this with Blockly. Is there a way to insert spin code as a new block/function?
A great example is custom display routines for a WS2812 LED strip. I've created 80 amazing displays for led strips in SPIN, these display routines do not interact directly with the LED's, rather they create variables for position and color, which would take forever to recreate in blockly... Ideally I would like to define a new block which I could simply paste the spin code into.