Hi folks,
Version 2.4.0 of the node-red-contrib-blockly is available in the palette
This version contains the following changes:
-
New block to convert a buffer to a list:
-
New block to convert a list to a buffer:
-
Copy-paste blocks between Blockly nodes:
Thanks to @cymplecy for testing this release, and implementing the 2 new blocks! Believe it or not but he managed to do that using 100% javascript, so without using Blockly nodes
And also thanks to the charming ladies of the Blockly team at Google to assist me to get the plugin-cross-tab-copy-paste up and running in Node-RED!
Have fun with this,
Bart
3 Likes
And here's what the new buffer <> list blocks look like
demonstrating that we can now easily use the more comprehesive list blocks to manipulate data and then convert back (if required)
[edit}Will come in vey useful in my MQTT broker project
2 Likes
The ability to copy / paste blocks from one node to another will revolutionise the use of Blockly
As it means we can construct useful functions and just copy/paste them into a node whenever they are needed.
Now, I know what all you function node people are saying - how come its taken so long!
Just to say, stuff like this wasn't considered important when it was just kids writing little games using Scratch and it's taken a while before its made it to the top of the ToDo list
But I'm VERY happy its now here
1 Like