We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 29fcfcb + 6c80b47 commit 92c5493Copy full SHA for 92c5493
src/main/webapp/cdn/blockly/generators/propc/xbee.js
@@ -120,9 +120,9 @@ Blockly.propc.xbee_transmit = function () {
120
if(type === "BYTE") {
121
return 'fdserial_txChar(xbee, (' + data + ' & 0xFF) );\n';
122
} else if(type === "INT") {
123
- return 'dprint(xbee, "%d\r", ' + data + ');\n';
+ return 'dprint(xbee, "%d\\r", ' + data + ');\n';
124
} else {
125
- var code = 'dprint(xbee, "%s\r", ' + text + ');\n';
+ var code = 'dprint(xbee, "%s\\r", ' + data + ');\n';
126
//code += 'fdserial_txChar(xbee, 0 );\n';
127
code += 'while(!fdserial_txEmpty(xbee));\n';
128
code += 'pause(5);\n';
0 commit comments