hi i'm trying load sample blink application on ble nano device using arduino ide. starts compiling crashes
processing.app.debug.runnerexception @ processing.app.debug.compiler.compilehex(compiler.java:793) @ processing.app.debug.compiler.compile(compiler.java:148) @ processing.app.sketch.build(sketch.java:1589) @ processing.app.sketch.exportapplet(sketch.java:1611) @ processing.app.sketch.exportapplet(sketch.java:1597) @ processing.app.editor$defaultexporthandler.run(editor.java:2397) @ java.lang.thread.run(unknown source) caused by: java.lang.nullpointerexception @ processing.app.helpers.stringreplacer.replacefrommapping(stringreplacer.java:97) @ processing.app.helpers.stringreplacer.replacefrommapping(stringreplacer.java:89) @ processing.app.helpers.stringreplacer.formatandsplit(stringreplacer.java:37) @ processing.app.debug.compiler.compilehex(compiler.java:791) ... 6 more`enter code here`
so question is. reason of crash. , how fix it?
update: i've used http://redbearlab.com/getting-started-nrf51822/ configure connection. here sample code:
void setup() { // initialize digital pin 13 output. pinmode(13, output); } // loop function runs on , on again forever void loop() { digitalwrite(13, high); // turn led on (high voltage level) delay(1000); // wait second digitalwrite(13, low); // turn led off making voltage low delay(1000); // wait second }
can please post sample code it's importing? also, can see board in ports comm#? have inkling installation process of ide might not have occurred correctly, cause components/libraries missing. can potentially cause problems you're describing, if you're sure board connected correctly , you're doing importing sample code.
Comments
Post a Comment