change Pin to machine.Pin etc.
@@ -146,6 +146,7 @@ PythonToBlocks.prototype.getSourceCode = function(frm, to) {
return lines.join("\n");
}
+
PythonToBlocks.prototype.convertBody = function(node, is_top_level) {
this.levelIndex += 1;
// Empty body, return nothing
