-
Ardublockly not running locally
-
For Ardublockly to work correctly, the Ardublockly server must be
- running locally on your computer.
+
Ardublockly application not running
+
For all the Ardublockly features to be enabled, the Ardublockly desktop application must be running locally on your computer.
If you are using an online version you will not be able to configure
the settings nor load the blocks code into an Arduino.
-
Installation instruction can be found in the
- Ardublockly
- repository.
-
If you have Ardublockly already installed, make sure the "setup.py or
- the "ardublockly_win.bat" program is running.
+
Installation instruction can be found in the Ardublockly repository.
+
If you have Ardublockly already installed, make sure the application is running correctly.
diff --git a/blockly/arduino_compressed.js b/blockly/arduino_compressed.js
index 117d1bd316..a816477dd1 100644
--- a/blockly/arduino_compressed.js
+++ b/blockly/arduino_compressed.js
@@ -14,31 +14,31 @@ Blockly.Arduino.finish=function(a){var b=[],c=[],d=[],e;for(e in Blockly.Arduino
(g="\n"+Blockly.Arduino.setups_.userSetupCode,delete Blockly.Arduino.setups_.userSetupCode);for(e in Blockly.Arduino.setups_)f.push(Blockly.Arduino.setups_[e]);g&&f.push(g);delete Blockly.Arduino.includes_;delete Blockly.Arduino.definitions_;delete Blockly.Arduino.codeFunctions_;delete Blockly.Arduino.userFunctions_;delete Blockly.Arduino.functionNames_;delete Blockly.Arduino.setups_;delete Blockly.Arduino.pins_;Blockly.Arduino.variableDB_.reset();b=b.join("\n")+c.join("\n")+d.join("\n\n");f="void setup() {"+
f.join("\n ")+"\n}\n\n";a="void loop() {\n "+a.replace(/\n/g,"\n ")+"\n}";return b+f+a};Blockly.Arduino.addInclude=function(a,b){void 0===Blockly.Arduino.includes_[a]&&(Blockly.Arduino.includes_[a]=b)};Blockly.Arduino.addDeclaration=function(a,b){void 0===Blockly.Arduino.definitions_[a]&&(Blockly.Arduino.definitions_[a]=b)};Blockly.Arduino.addSetup=function(a,b,c){c?Blockly.Arduino.setups_[a]=b:void 0===Blockly.Arduino.setups_[a]&&(Blockly.Arduino.setups_[a]=b)};
Blockly.Arduino.addFunction=function(a,b){if(void 0===Blockly.Arduino.codeFunctions_[a]){var c=Blockly.Arduino.variableDB_.getDistinctName(a,Blockly.Generator.NAME_TYPE);Blockly.Arduino.codeFunctions_[a]=b.replace(Blockly.Arduino.DEF_FUNC_NAME,c);Blockly.Arduino.functionNames_[a]=c}return Blockly.Arduino.functionNames_[a]};
-Blockly.Arduino.reservePin=function(a,b,c,d){void 0!==Blockly.Arduino.pins_[b]?Blockly.Arduino.pins_[b]!=c?a.setWarningText("Pin "+b+" is needed for "+d+" as pin "+c+". Already used as "+Blockly.Arduino.pins_[b]+".",d):a.setWarningText(null,d):(Blockly.Arduino.pins_[b]=c,a.setWarningText(null,d))};Blockly.Arduino.scrubNakedValue=function(a){return a+";\n"};Blockly.Arduino.quote_=function(a){a=a.replace(/\\/g,"\\\\").replace(/\n/g,"\\\n").replace(/\$/g,"\\$").replace(/'/g,"\\'");return'"'+a+'"'};
+Blockly.Arduino.reservePin=function(a,b,c,d){void 0!==Blockly.Arduino.pins_[b]?Blockly.Arduino.pins_[b]!=c?a.setWarningText("Pin "+b+" is needed for "+d+" as pin "+c+".\nAlready used as "+Blockly.Arduino.pins_[b]+".",d):a.setWarningText(null,d):(Blockly.Arduino.pins_[b]=c,a.setWarningText(null,d))};Blockly.Arduino.scrubNakedValue=function(a){return a+";\n"};Blockly.Arduino.quote_=function(a){a=a.replace(/\\/g,"\\\\").replace(/\n/g,"\\\n").replace(/\$/g,"\\$").replace(/'/g,"\\'");return'"'+a+'"'};
Blockly.Arduino.scrub_=function(a,b){if(null===b)return"";var c="";if(!a.outputConnection||!a.outputConnection.targetConnection){var d=a.getCommentText();d&&(c+=this.prefixLines(d,"// ")+"\n");for(var e=0;e