0
您好我正尝试使用Arduino Ide在BLE Nano设备上加载示例闪烁应用程序。它开始编译,但比它崩溃BLE Nano使用Arduino Ide问题
processing.app.debug.RunnerException
at processing.app.debug.Compiler.compileHex(Compiler.java:793)
at processing.app.debug.Compiler.compile(Compiler.java:148)
at processing.app.Sketch.build(Sketch.java:1589)
at processing.app.Sketch.exportApplet(Sketch.java:1611)
at processing.app.Sketch.exportApplet(Sketch.java:1597)
at processing.app.Editor$DefaultExportHandler.run(Editor.java:2397)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at processing.app.helpers.StringReplacer.replaceFromMapping(StringReplacer.java:97)
at processing.app.helpers.StringReplacer.replaceFromMapping(StringReplacer.java:89)
at processing.app.helpers.StringReplacer.formatAndSplit(StringReplacer.java:37)
at processing.app.debug.Compiler.compileHex(Compiler.java:791)
... 6 more`enter code here`
所以问题是。这次事故的原因是什么?以及如何解决它?
更新: 我用http://redbearlab.com/getting-started-nrf51822/来配置连接。 以下是示例代码:
void setup() {
// initialize digital pin 13 as an output.
pinMode(13, OUTPUT);
}
// the loop function runs over and over again forever
void loop() {
digitalWrite(13, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second
digitalWrite(13, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait for a second
}