Show Posts
|
|
Pages: [1]
|
|
4
|
Forum 2005-2010 (read only) / Syntax & Programs / Assigning values to multidimensional arrays.
|
on: December 06, 2009, 12:53:54 pm
|
|
Hi there ! I am new to Arduino programming. I came across a small problem while trying to assign values to a multi dimensional array.
Definition looks like this. int MyArray[11][3];
Now to my problem. To save code I would like to do something like this MyArray [1][0] = 10,20,30;
But in this case only the first value "10" is assigned to the array. MyArray [1][1] and MyArray [1][2] is 0.
If I do like this it works MyArray [1][0] = 10; MyArray [1][1] = 20; MyArray [1][2] = 30;
Is there a smarter syntax or is this the only way?
/E.T
|
|
|
|
|
5
|
Forum 2005-2010 (read only) / Bugs & Suggestions / Re: PCTools Firewall and arduino causes hang.
|
on: February 26, 2009, 11:01:49 am
|
|
Ok my Arduinio board has finally arrived and I have tested to compile and upload the blink example to the board and all worked very well. So the Comodo firewall works Ok at least for me. I use version 3.8.64739.471 of Comodo. Try to shut down one process at a time in the taskmanager and perhaps you can find out what causes your problem.
/Emil
|
|
|
|
|
8
|
Forum 2005-2010 (read only) / Bugs & Suggestions / PCTools Firewall and arduino causes hang.
|
on: February 21, 2009, 05:58:26 pm
|
|
Hi ! I have recentley ordered the Arduino Duemilanove USB board. 8-) Waiting for it to arrive I downloaded the Arduino Deveoper software and I emediatley run into problems. :'( When trying to start "arduino.exe" it caused Windows XP to hang. After lots of restarts I found out that arduino does not work when "PC Tools Firewall+ Ver. 5.0.0.37" is On. If I Turn the firewall Off or end the "FirewallGUI.exe" process arduino will startup normally. Has anyone else experienced the same problem ?
/Emil
|
|
|
|
|
9
|
Forum 2005-2010 (read only) / Interfacing / HD44780 16x2 type LCD-module and LiquidCrystal.h
|
on: March 04, 2009, 02:34:36 pm
|
|
Hi and thank you for your time. I am a neewbe with Arduino. Yesterday i connected it to a LCD-Display with 16char and 2 lines. All commands work Ok except for "lcd.setCursor(0,1);" command. The cursor just wont switch to the second line. Moving the cursor to a position on the first line works fine. Is there a problem with LiquidCrystal.h or is it just me? :-[ I tried to search the forums but there is just to meny threads to sort something out :-/
/Emil
|
|
|
|
|