<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Slashdev Support Forum &#187; Recent Posts</title>
		<link>http://forum.slashdev.ca/</link>
		<description>A place to ask questions about projects and posts on the Slashdev blog.</description>
		<language>en-US</language>
		<pubDate>Thu, 09 Sep 2010 05:30:27 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://forum.slashdev.ca/search.php</link>
		</textInput>
		<atom:link href="http://forum.slashdev.ca/rss/" rel="self" type="application/rss+xml" />

		<item>
			<title>jiggak on "Cannot get javaPP to work"</title>
			<link>http://forum.slashdev.ca/topic/6#post-18</link>
			<pubDate>Mon, 28 Jun 2010 21:22:31 +0000</pubDate>
			<dc:creator>jiggak</dc:creator>
			<guid isPermaLink="false">18@http://forum.slashdev.ca/</guid>
			<description>&#60;p&#62;Good to hear you got it working.&#60;/p&#62;
&#60;p&#62;Currently there isn't any sort of support for comments in the pre-processor grammar or expressions.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Reza on "Cannot get javaPP to work"</title>
			<link>http://forum.slashdev.ca/topic/6#post-17</link>
			<pubDate>Mon, 28 Jun 2010 20:10:44 +0000</pubDate>
			<dc:creator>Reza</dc:creator>
			<guid isPermaLink="false">17@http://forum.slashdev.ca/</guid>
			<description>&#60;p&#62;JDK 1.6 works. &#60;/p&#62;
&#60;p&#62;A minor thing I noticed (that maybe you are already aware of):&#60;/p&#62;
&#60;p&#62;//#if ${USEROBJ_ASM_ELEMENT_SIZE} == 4&#60;br /&#62;
System.err.println(&#34;4 &#34;);&#60;br /&#62;
//#else&#60;br /&#62;
System.err.println(&#34;no 4 &#34;);&#60;br /&#62;
//#endif&#60;/p&#62;
&#60;p&#62;is good.&#60;/p&#62;
&#60;p&#62;//#if ${USEROBJ_ASM_ELEMENT_SIZE} == 4 /* test */&#60;br /&#62;
System.err.println(&#34;4 &#34;);&#60;br /&#62;
//#else&#60;br /&#62;
System.err.println(&#34;no 4 &#34;);&#60;br /&#62;
//#endif&#60;/p&#62;
&#60;p&#62;gives this error:&#60;/p&#62;
&#60;p&#62;C:\Projects\Application\v1.0\System&#38;gt;ant preprocess&#60;br /&#62;
Buildfile: C:\Projects\Application\v1.0\System\build.xml&#60;/p&#62;
&#60;p&#62;preprocess:&#60;/p&#62;
&#60;p&#62;BUILD FAILED&#60;br /&#62;
C:\Projects\Application\v1.0\System\build.xml:95: 'CUserobj.java',&#60;br /&#62;
 line 685, char 44: Token not recognised in state 'ifcond'&#60;/p&#62;
&#60;p&#62;Total time: 2 seconds&#60;br /&#62;
C:\Projects\Application\v1.0\System&#38;gt;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jiggak on "Cannot get javaPP to work"</title>
			<link>http://forum.slashdev.ca/topic/6#post-16</link>
			<pubDate>Thu, 24 Jun 2010 23:36:17 +0000</pubDate>
			<dc:creator>jiggak</dc:creator>
			<guid isPermaLink="false">16@http://forum.slashdev.ca/</guid>
			<description>&#60;p&#62;You don't need to install jython (it's bundled into javapp.jar) but it also &#34;shouldn't&#34; hurt if it is installed.&#60;/p&#62;
&#60;p&#62;I might have compiled javapp with JDK 1.6 (I don't remember). Is it possible for you to upgrade the java 1.6 and try again? If not, let me know. I should be able to recompile javapp against java 1.5.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Reza on "Cannot get javaPP to work"</title>
			<link>http://forum.slashdev.ca/topic/6#post-15</link>
			<pubDate>Thu, 24 Jun 2010 13:51:09 +0000</pubDate>
			<dc:creator>Reza</dc:creator>
			<guid isPermaLink="false">15@http://forum.slashdev.ca/</guid>
			<description>&#60;p&#62;I upgraded my ant to version 1.8.1 from binary distribution and added javapp.jar (extracted from javapp-0.4.zip) under /lib directory. I installed jython using jython_installer-2.5.0.jar under my jdk1.5.0_05. I added the following lines to my build.xml:&#60;/p&#62;
&#60;p&#62;&#38;lt;?xml version=&#34;1.0&#34; standalone=&#34;yes&#34;?&#38;gt;&#60;/p&#62;
&#60;p&#62;&#38;lt;project name=&#34;Application&#34; default=&#34;compile&#34; basedir=&#34;.&#34;&#38;gt;&#60;/p&#62;
&#60;p&#62;...&#60;br /&#62;
	&#38;lt;!-- to use javaPP --&#38;gt;&#60;br /&#62;
	&#38;lt;taskdef resource=&#34;javapp-defs.xml&#34; /&#38;gt;&#60;br /&#62;
...&#60;/p&#62;
&#60;p&#62;	&#38;lt;target name=&#34;preprocess&#34;&#38;gt;&#60;br /&#62;
		&#38;lt;javapp destdir=&#34;staging&#34; prefix=&#34;//#&#34;&#38;gt;&#60;br /&#62;
			&#38;lt;fileset dir=&#34;src&#34; includes=&#34;**/*.java&#34; /&#38;gt;&#60;br /&#62;
		&#38;lt;/javapp&#38;gt;&#60;br /&#62;
	&#38;lt;/target&#38;gt;&#60;/p&#62;
&#60;p&#62;...&#60;/p&#62;
&#60;p&#62;I typed ant preprocess and received the following error message:&#60;/p&#62;
&#60;p&#62;BUILD FAILED&#60;br /&#62;
C:\Projects\R&#38;amp;D\Sole\Application\v1.0\System\build.xml:5: java.lang.UnsupportedC&#60;br /&#62;
lassVersionError: Bad version number in .class file&#60;br /&#62;
        at java.lang.ClassLoader.defineClass1(Native Method)&#60;br /&#62;
        at java.lang.ClassLoader.defineClass(ClassLoader.java:620)&#60;br /&#62;
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12&#60;br /&#62;
4)&#60;br /&#62;
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)&#60;br /&#62;
        at java.net.URLClassLoader.access$100(URLClassLoader.java:56)&#60;br /&#62;
        at java.net.URLClassLoader$1.run(URLClassLoader.java:195)&#60;br /&#62;
        at java.security.AccessController.doPrivileged(Native Method)&#60;br /&#62;
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)&#60;br /&#62;
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)&#60;br /&#62;
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)&#60;br /&#62;
        at org.apache.tools.ant.AntClassLoader.findBaseClass(AntClassLoader.java&#60;br /&#62;
:1383)&#60;br /&#62;
        at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:106&#60;br /&#62;
0)&#60;br /&#62;
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)&#60;br /&#62;
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)&#60;br /&#62;
        at java.lang.Class.forName0(Native Method)&#60;br /&#62;
        at java.lang.Class.forName(Class.java:242)&#60;br /&#62;
        at org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:594)&#60;/p&#62;
&#60;p&#62;        at org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:239)&#60;br /&#62;
        at org.apache.tools.ant.taskdefs.Antlib.execute(Antlib.java:177)&#60;br /&#62;
        at org.apache.tools.ant.taskdefs.Definer.loadAntlib(Definer.java:443)&#60;br /&#62;
        at org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:292)&#60;br /&#62;
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)&#60;br /&#62;
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&#60;br /&#62;
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.&#60;br /&#62;
java:39)&#60;br /&#62;
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces&#60;br /&#62;
sorImpl.java:25)&#60;br /&#62;
        at java.lang.reflect.Method.invoke(Method.java:585)&#60;br /&#62;
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav&#60;br /&#62;
a:106)&#60;br /&#62;
        at org.apache.tools.ant.Task.perform(Task.java:348)&#60;br /&#62;
        at org.apache.tools.ant.Target.execute(Target.java:390)&#60;br /&#62;
        at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:&#60;br /&#62;
179)&#60;br /&#62;
        at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.jav&#60;br /&#62;
a:82)&#60;br /&#62;
        at org.apache.tools.ant.Main.runBuild(Main.java:786)&#60;br /&#62;
        at org.apache.tools.ant.Main.startAnt(Main.java:218)&#60;br /&#62;
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)&#60;br /&#62;
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)&#60;/p&#62;
&#60;p&#62;Total time: 0 seconds&#60;/p&#62;
&#60;p&#62;Any idea?&#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
Reza.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jiggak on "arduino 0018 and keywords.txt"</title>
			<link>http://forum.slashdev.ca/topic/5#post-14</link>
			<pubDate>Tue, 15 Jun 2010 21:08:36 +0000</pubDate>
			<dc:creator>jiggak</dc:creator>
			<guid isPermaLink="false">14@http://forum.slashdev.ca/</guid>
			<description>&#60;p&#62;As far as I know, the keywords.txt file is only to provide syntax highlighting in the arduino editor and isn't required (I could be wrong though).&#60;/p&#62;
&#60;p&#62;I just tried arduino 0018 for Linux and my library is recognized just fine. Note: a few versions back, the preferred location for user supplied libraries changed in the arduino IDE. On linux, the location is ~/sketchbook/libraries/. I'm not sure where the sketchbook directory is located on Windows.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>maujabur on "arduino 0018 and keywords.txt"</title>
			<link>http://forum.slashdev.ca/topic/5#post-13</link>
			<pubDate>Tue, 15 Jun 2010 14:19:24 +0000</pubDate>
			<dc:creator>maujabur</dc:creator>
			<guid isPermaLink="false">13@http://forum.slashdev.ca/</guid>
			<description>&#60;p&#62;I've tried to use your library with arduino 0018 on a PC but it seems to be missing a file named keywords.txt. This way it is not regocnized as a library&#60;br /&#62;
Am I doing something wrong?&#60;/p&#62;
&#60;p&#62;Thanks
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jiggak on "Can&#039;t get the HelloWorld to compile with ant"</title>
			<link>http://forum.slashdev.ca/topic/4#post-12</link>
			<pubDate>Fri, 07 May 2010 13:43:11 +0000</pubDate>
			<dc:creator>jiggak</dc:creator>
			<guid isPermaLink="false">12@http://forum.slashdev.ca/</guid>
			<description>&#60;p&#62;Pam,&#60;/p&#62;
&#60;p&#62;For internet access you need to use the MDS simulator.  See &#60;a href=&#34;http://www.slashdev.ca/2008/04/03/mds-simulator-in-linux/&#34;&#62;this&#60;/a&#62; post for how to make a script to launch it.&#60;/p&#62;
&#60;p&#62;This is only necessary for apps on the blackberry that attempt to use BES or BIS for network connections.  Direct TCP or Wifi should work without the MDS simulator.&#60;/p&#62;
&#60;p&#62;And I'm afraid I have no knowledge of phonegap.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>pamepros on "Can&#039;t get the HelloWorld to compile with ant"</title>
			<link>http://forum.slashdev.ca/topic/4#post-11</link>
			<pubDate>Fri, 07 May 2010 08:49:44 +0000</pubDate>
			<dc:creator>pamepros</dc:creator>
			<guid isPermaLink="false">11@http://forum.slashdev.ca/</guid>
			<description>&#60;p&#62;Josh, do you know how to configure the simulator to have internet on the phone?&#60;br /&#62;
Can I add something to the sh script? (some extra variable to configure it)&#60;br /&#62;
Also, do you have any knowledge of phonegap for blackberry?&#60;br /&#62;
Thanks&#60;br /&#62;
Pam
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jiggak on "Can&#039;t get the HelloWorld to compile with ant"</title>
			<link>http://forum.slashdev.ca/topic/4#post-10</link>
			<pubDate>Thu, 06 May 2010 15:24:41 +0000</pubDate>
			<dc:creator>jiggak</dc:creator>
			<guid isPermaLink="false">10@http://forum.slashdev.ca/</guid>
			<description>&#60;p&#62;I personally have not been able to get the simulator to work 100% of the time.  It is very unstable using wine emulation.  You might also want to try &#60;a href=&#34;http://www.azizuysal.com/2009/07/blackberry-development-on-mac-os-x.html&#34;&#62;this post&#60;/a&#62;.  The author uses the &#60;strong&#62;winetricks&#60;/strong&#62; script to install a few extra components into wine.&#60;/p&#62;
&#60;p&#62;For me, by far the most reliable method for using the simulator is with a Windows VM using VirtualBox (outlined &#60;a href=&#34;http://www.slashdev.ca/2008/04/03/blackberry-development-using-linux/2/&#34;&#62;here&#60;/a&#62;).&#60;/p&#62;
&#60;p&#62;As for the Spanish translation, a link back to my blog would be great.  Thanks!&#60;/p&#62;
&#60;p&#62;If you have tips on getting anything else working, feel free to use this forum.  I'm sure others would appreciate your findings.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>pamepros on "Can&#039;t get the HelloWorld to compile with ant"</title>
			<link>http://forum.slashdev.ca/topic/4#post-9</link>
			<pubDate>Thu, 06 May 2010 12:29:17 +0000</pubDate>
			<dc:creator>pamepros</dc:creator>
			<guid isPermaLink="false">9@http://forum.slashdev.ca/</guid>
			<description>&#60;p&#62;Josh,&#60;br /&#62;
I have almost everything working now. I have some things still missing..&#60;br /&#62;
The simulator worked fine the first 2 times, now it's not working any more, here's the last lines the terminal shows:&#60;/p&#62;
&#60;p&#62;err:ole:CoCreateInstance apartment not initialised&#60;br /&#62;
err:seh:setup_exception_record stack overflow 988 bytes in thread 0009 eip 00a352eb esp 00230f54 stack 0x230000-0x231000-0x330000&#60;br /&#62;
err:ntdll:RtlpWaitForCriticalSection section 0x110048 &#34;heap.c: main process heap section&#34; wait timed out in thread 003d, blocked by 0009, retrying (60 sec)&#60;br /&#62;
err:ntdll:RtlpWaitForCriticalSection section 0x110048 &#34;heap.c: main process heap section&#34; wait timed out in thread 003d, blocked by 0009, retrying (60 sec)&#60;br /&#62;
err:ntdll:RtlpWaitForCriticalSection section 0x110048 &#34;heap.c: main process heap section&#34; wait timed out in thread 003d, blocked by 0009, retrying (60 sec)&#60;/p&#62;
&#60;p&#62;Also, I couldn't integrate de simulator to eclipse. But as long as I can package the app and then try it in the simulator separately I have no problem (or that's what I thought).&#60;br /&#62;
Anyway, I updated and translated to spanish your tutorials, if I ever publish them I'll reference the source (if that's ok with you) if you want a copy or if you want a hand I can write them in english for you with the latest versions of everything (once I get it to work of course haha)&#60;/p&#62;
&#60;p&#62;That's all for now, I'll login later to see if you could help me with this.&#60;br /&#62;
Thanks&#60;/p&#62;
&#60;p&#62;pam
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jiggak on "Can&#039;t get the HelloWorld to compile with ant"</title>
			<link>http://forum.slashdev.ca/topic/4#post-8</link>
			<pubDate>Thu, 06 May 2010 10:16:53 +0000</pubDate>
			<dc:creator>jiggak</dc:creator>
			<guid isPermaLink="false">8@http://forum.slashdev.ca/</guid>
			<description>&#60;p&#62;Pam,&#60;/p&#62;
&#60;p&#62;Thank you SO MUCH for using the forums!&#60;/p&#62;
&#60;p&#62;I get a lot of comments on the BlackBerry development in Linux blog post from people asking for help.  However, wordpress comments are the least fun thing to use for providing support.&#60;/p&#62;
&#60;p&#62;- Josh
&#60;/p&#62;</description>
		</item>
		<item>
			<title>pamepros on "Can&#039;t get the HelloWorld to compile with ant"</title>
			<link>http://forum.slashdev.ca/topic/4#post-7</link>
			<pubDate>Thu, 06 May 2010 08:15:05 +0000</pubDate>
			<dc:creator>pamepros</dc:creator>
			<guid isPermaLink="false">7@http://forum.slashdev.ca/</guid>
			<description>&#60;p&#62;Nevermind, I just got it to work, it was my jde path it had spaces and it messed up something, just changed it to a simple name.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>pamepros on "Can&#039;t get the HelloWorld to compile with ant"</title>
			<link>http://forum.slashdev.ca/topic/4#post-6</link>
			<pubDate>Thu, 06 May 2010 08:07:32 +0000</pubDate>
			<dc:creator>pamepros</dc:creator>
			<guid isPermaLink="false">6@http://forum.slashdev.ca/</guid>
			<description>&#60;p&#62;Hi, I'm following your tutorials to get the BlackBerry JDE working in Ubuntu.&#60;br /&#62;
I managed to get the simulator to work perfectly.&#60;br /&#62;
Now I'm trying to get the eclipse to compile the project. I copied your helloworld example,changed my jde.home and simulator.home to mines, but when I try to compile it says:&#60;/p&#62;
&#60;p&#62;Buildfile: /home/pam/workspace/HelloWorld/build.xml&#60;br /&#62;
build:&#60;br /&#62;
     [rapc] Compiling 1 source files to hello_pam.cod&#60;br /&#62;
     [rapc] javac: invalid flag: 5.0.0/lib/net_rim_api.jar&#34;&#60;br /&#62;
     [rapc] Usage: javac &#38;lt;options&#38;gt; &#38;lt;source files&#38;gt;&#60;br /&#62;
     [rapc] use -help for a list of possible options&#60;br /&#62;
     [rapc] Error!: Error: java compiler failed: javac -source 1.3 -target 1.3 -g -O -d /tmp/rapc_0ab943d8.dir -bootclasspath &#34;/home/pam/lib/BlackBe ...&#60;/p&#62;
&#60;p&#62;BUILD FAILED&#60;br /&#62;
/home/pam/workspace/HelloWorld/build.xml:16: Java returned: 97&#60;/p&#62;
&#60;p&#62;Total time: 523 milliseconds&#60;/p&#62;
&#60;p&#62;Do you have any idea why?&#60;br /&#62;
Thanks!&#60;br /&#62;
Pam
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jiggak on "Custom Characters"</title>
			<link>http://forum.slashdev.ca/topic/3#post-5</link>
			<pubDate>Tue, 16 Feb 2010 12:16:44 +0000</pubDate>
			<dc:creator>jiggak</dc:creator>
			<guid isPermaLink="false">5@http://forum.slashdev.ca/</guid>
			<description>&#60;p&#62;Hi there,&#60;/p&#62;
&#60;p&#62;Custom characters are defined using an array of 8 bytes.  Each byte can be thought of as a row of pixels.  Since each bytes is 8 bits, you end up with a grid of 8x8 pixels.  Here is a snippet of code from the animate sample:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;// x x x 1 1 1 1 1
// x x x 1 0 0 0 0
// x x x 1 0 0 0 0
// x x x 1 0 0 0 0
// x x x 1 0 0 0 0
// x x x 1 0 0 0 0
// x x x 1 1 1 1 1
// x x x 0 0 0 0 0
uint8_t left[] = { 0x1F, 0x10, 0x10, 0x10, 0x10, 0x10, 0x1F, 0x00 };&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;All 1's will be black pixels, all 0's will be white.  Note: these LCD's actually use 5x8 pixels for characters so the first 3 bits in each byte are ignored when defining characters (marked as x's above).&#60;/p&#62;
&#60;p&#62;Lets take the first row for example.  Pull up your calculator and switch to binary mode.  Enter 00011111 and convert to hexadecimal.  You should get 0x1F.&#60;/p&#62;
&#60;p&#62;Now, using the library you do the following to use the custom character.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;// define character in ram at index 0
lcd.define_char(0, left);

// print character from cgram at index 0
lcd.print((char)0);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;I hope this helps.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>evil_md on "Custom Characters"</title>
			<link>http://forum.slashdev.ca/topic/3#post-4</link>
			<pubDate>Tue, 09 Feb 2010 19:00:21 +0000</pubDate>
			<dc:creator>evil_md</dc:creator>
			<guid isPermaLink="false">4@http://forum.slashdev.ca/</guid>
			<description>&#60;p&#62;I'm completely new to the world of arduino, but I've been running your library and its been working great for me. However I'm not completely clear on the custom character aspect, so was hoping you would be able to give me a short example outlining the definition of a character, and then the proceedure for printing the character to the LCD.&#60;/p&#62;
&#60;p&#62;Cheers for any help!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jiggak on "There&#039;s nothing here?"</title>
			<link>http://forum.slashdev.ca/topic/2#post-3</link>
			<pubDate>Mon, 01 Feb 2010 00:24:25 +0000</pubDate>
			<dc:creator>jiggak</dc:creator>
			<guid isPermaLink="false">3@http://forum.slashdev.ca/</guid>
			<description>&#60;p&#62;First let me apologize for not replying sooner.  I just setup this forum and have not yet figured out how to get emails sent to me when someone posts!&#60;/p&#62;
&#60;p&#62;I think your problem is in the Lcd constructor, try this:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;#include &#38;lt;Lcd.h&#38;gt;

// LCD module is 16 columns wide, 4 pin mode, 2 lines
Lcd lcd = Lcd(16, FUNCTION_4BIT &#124; FUNCTION_2LINE);

void setup()
{
   // for the sake of demonstration change pin assignment
   lcd.set_ctrl_pins(CTRLPINS(1,2,3)); // RS-&#38;gt;1, RW-&#38;gt;2, E-&#38;gt;3
   lcd.set_data_pins(_4PINS(4,5,6,7)); // D4-&#38;gt;4, D5-&#38;gt;5, D6-&#38;gt;6, D7-&#38;gt;7
   lcd.setup(); // setup arduino and initialize LCD
}

void loop()
{
   lcd.home();
   lcd.print(&#38;quot;Line 1&#38;quot;);
   lcd.move_to(1, 2);
   lcd.print(&#38;quot;Line 2&#38;quot;);
}&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>jkittle99 on "There&#039;s nothing here?"</title>
			<link>http://forum.slashdev.ca/topic/2#post-2</link>
			<pubDate>Fri, 08 Jan 2010 00:15:37 +0000</pubDate>
			<dc:creator>jkittle99</dc:creator>
			<guid isPermaLink="false">2@http://forum.slashdev.ca/</guid>
			<description>&#60;p&#62;Seriously?  &#60;/p&#62;
&#60;p&#62;Ok so let me be the first, then.  I'm using Arduino 17 on a mac.  The library works fine.&#60;/p&#62;
&#60;p&#62;I've wired up a 2x16 Winstar WH1602B display (it has an RGB backlight - mega cool) and I'm running in 4 bit mode.   Hello world works fine on line 1, but nothing goes to line 2.   Why is &#34;move_to&#34; not highlighted?  &#60;/p&#62;
&#60;p&#62;My complete code:&#60;/p&#62;
&#60;p&#62;/*&#60;br /&#62;
 * Simple hello world program in 4 pin mode.&#60;br /&#62;
 */&#60;br /&#62;
#include &#38;lt;Lcd.h&#38;gt;&#60;/p&#62;
&#60;p&#62;// LCD module is 16 columns wide, use 4 pin mode&#60;br /&#62;
Lcd lcd = Lcd(16, FUNCTION_4BIT);&#60;/p&#62;
&#60;p&#62;char msg[] = &#34;Hello, World!&#34;;&#60;/p&#62;
&#60;p&#62;void setup()&#60;br /&#62;
{&#60;br /&#62;
  // for the sake of demonstration change pin assignment&#60;br /&#62;
  lcd.set_ctrl_pins(CTRLPINS(1,2,3)); // RS-&#38;gt;1, RW-&#38;gt;2, E-&#38;gt;3&#60;br /&#62;
  lcd.set_data_pins(_4PINS(4,5,6,7)); // D4-&#38;gt;4, D5-&#38;gt;5, D6-&#38;gt;6, D7-&#38;gt;7&#60;/p&#62;
&#60;p&#62;  lcd.setup();  // setup arduino and initialize LCD&#60;br /&#62;
  lcd.move_to(1,2);&#60;br /&#62;
  lcd.print(&#34;Line 2&#34;);&#60;/p&#62;
&#60;p&#62;}&#60;/p&#62;
&#60;p&#62;void loop()&#60;br /&#62;
{&#60;br /&#62;
  lcd.home();     // return cursor to home possition&#60;br /&#62;
  lcd.print(msg); // print the ever so familiar message&#60;br /&#62;
}
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
