SINTEF-9012 / JArduino

Program your Arduino in Java
https://github.com/SINTEF-9012/JArduino/wiki
176 stars 63 forks source link

Half of the output tension #44

Closed bahiald closed 8 years ago

bahiald commented 8 years ago

When I run the blink example I get 2.5V output, but when I run the Arduino blink (not using JArduino) I get 5V output.

I tried using IDE versions 1.0 and 1.6.7

brice-morin commented 8 years ago

Hi,

It might be that the pin is not properly set in output mode (maybe serial was not completely ready and command was lost). Can you try to update the blink so that you always set the pin in output mode before blinking it?