JArduino icon indicating copy to clipboard operation
JArduino copied to clipboard

unable to run blink example

Open jerryd84 opened this issue 10 years ago • 3 comments

I've run the firmware example in Arduino on my uno board. I've created the default project with the jars and libraries preconfigured in eclipse I edited the blink example to output on pin 13.

when I run the example i get the following message on the console "Load RxTx" And I'm prompted to select the comport of my Arduino which for me is 10. After selecting the comport, the Rx light blinks continuously and the LED on pin 13 remains lit indefinitely.

Please advise. Thank you.

jerryd84 avatar Aug 08 '15 08:08 jerryd84

Hi,

For some reasons, the blink example does not use PIN 13 but assumes that you have a LED connected on PIN 12. See the source code

Try changing the PIN number to PIN 13 in the program, so that it should bling the embedded LED on the Arduino board.

Please tell us if it solve the problem, or not.

brice-morin avatar Aug 10 '15 07:08 brice-morin

I did change the output pin to 13. I also uploaded the firmware and setup the libraries in eclipse. I ran into the mismatch of libraries but I fixed it and no longer see the mismatch error. When I run the program the Rx light continuously blinks and the led pin on 13 just remains on.

jerryd84 avatar Aug 12 '15 00:08 jerryd84

I spend some hours getting Jardiuno up and runnig and after installing the correct (in my case x64) RTXT .dll files (google for rxtx-for-java) it worked.

DoctorPainless avatar Jan 28 '18 08:01 DoctorPainless