Show Posts
Pages: [1]
1  Using Arduino / Installation & Troubleshooting / Re: Cannot run "../avr/bin/avr-g++" java.io.IOException: error=13, Permission denied on: January 14, 2014, 05:43:39 am
That fixed my problem.

Thanks.M
2  Using Arduino / Installation & Troubleshooting / Cannot run "../avr/bin/avr-g++" java.io.IOException: error=13, Permission denied on: January 14, 2014, 04:22:03 am
Hello there,

I want to install the IDE 1.0.5 on a fresh install of Ubuntu 12.04 LTS. The board is a Lenoardo.

This is what I did. I got the arduino-1.0.5-linux64.tgz from the website which was install to /usr/local/arduino-1.0.5/

«When I tried to verify my sketch I got error "Cannot run program "/usr/local/arduino-1.0.5/hardware/tools/avr/bin/avr-g++": java.io.IOException: error=13, Permission denied»

At first i thought it was that the gnu g++ compiler wasnt installed so i installed that. But when I read the error again, I found that it was actually permission denied.

I then tried to install IDE version 1.0 from the software center in ubuntu. I found that it did not have support for my board. So I attempted to upload my sketch once more using the IDE 1.0.5. Same error:

«When I tried to verify my sketch I got error "Cannot run program "/usr/local/arduino-1.0.5/hardware/tools/avr/bin/avr-g++": java.io.IOException: error=13, Permission denied»

So my questions to you:

(1) Precisely what does this error mean,
(2) How is it rectified?

Thank you for your time.

Kind regards,
Marius
3  Using Arduino / Displays / Re: Arduino is writing to LCD, I can find no errors, but no LCD-text. What is wrong? on: January 31, 2013, 10:36:18 am
Kingoslo, I think you're sending too many commands to the LCD each second.  You might try a delay(200) in your loop, and count up using a variable instead of trying to display milliseconds.

Thanks, that fixed my problem! smiley

Kind regards,
Marius
4  Using Arduino / Displays / Arduino is writing to LCD, I can find no errors, but no LCD-text. What is wrong? on: January 30, 2013, 05:41:34 pm
This is my setup.

Arduino Leonardo. Arduino IDE 1.0.3. A MIDAS LCD (8x2). Here is a link to the datasheet: http://www.farnell.com/datasheets/1485442.pdf

I have connected the board like this:

.

I have connected everything exactly like above, there are no short circuits, and I measure the correct voltages on all the pins.

This is my code:

Code:
// include the library code:
#include <LiquidCrystal.h>

// initialize the library with the numbers of the interface pins
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);

void setup() {
  // set up the LCD's number of columns and rows:
  lcd.begin(8, 2);
  // Print a message to the LCD.
  lcd.print("Hello");
}

void loop() {
  // set the cursor to column 0, line 1
  // (note: line 1 is the second row, since counting begins with 0):
  lcd.setCursor(0, 1);
  // print the number of seconds since reset:
  lcd.print(millis()/1000);
}

The sketch is uplaoded to the Arduino without errors.

I measure correct voltages at 3V3 and 5V pins. The Arduino is writing to the LCD on the 4 data-lines (counting up seconds), I have verified this on the oscilloscope in my laboratory, but no text on the display.

What is wrong?

Thank you for your time.

Kind regards,
Marius
Pages: [1]