Show Posts
Pages: [1]
1  Forum 2005-2010 (read only) / Syntax & Programs / Re: Convert from int to bin to string. on: December 30, 2009, 09:56:32 am
Thank you for your replies fellows.
TBAr I am using the LCD4bit library and it looks like passing a "BIN" to the function does not work.
However I will try to use the bitread() approach instead.

Wish you all a Happy New Year!

/E.T
2  Forum 2005-2010 (read only) / Syntax & Programs / Convert from int to bin to string. on: December 29, 2009, 06:34:06 am
Hi there!
I have bin searching the forum but could not find anything in the subject.

I is there a way to convert an integer value like 12 into a string in binary format like "00001100" ?
The idea is to send the binary string value to a LCD display.

/E.T
3  Forum 2005-2010 (read only) / Syntax & Programs / Re: Assigning values to multidimensional arrays. on: December 06, 2009, 01:28:57 pm
Hello and thank you for answering.
Perhaps I was not clear enough.

I would like to update the array like in your example
during runtime but I can not make it work.

/E.T
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
6  Forum 2005-2010 (read only) / Bugs & Suggestions / Re: PCTools Firewall and arduino causes hang. on: February 25, 2009, 01:44:17 pm
That was to bad.
I have not received my card and have therefore not yet tried to compile
anything.
As soon as I have tried it I will let you know.

/Emil
7  Forum 2005-2010 (read only) / Bugs & Suggestions / Re: PCTools Firewall and arduino causes hang. on: February 22, 2009, 11:47:33 am
Tried to find some info about the USB on PC Tools website but without result.
So I uninstalled PC Tools Firewall and installed Comodo Firewall instead.
Comodo firewall is also free and it seems to get along with Arduino.

/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
Pages: [1]