LCDX -getting started

Started by eurolcdx May 1, 2010
Hi, another newbie to BasicX and somewhat disappointed.

I have used Basic Stamps previously. No issues-simple and worked every time.

I can't get past the first step with this LCDX module and the annoying IDE.
When I start a new project for the LCDX the system automatically loads code for LCD Driver, Relay Driver, Sound Drivers etc. All seem to do nothing. Do I need all of these files, all of the time?

Whilst the Compiling seems to work, that's about it.

I am trying to Clear the Screen, read a voltage on channel 5 (pin Number????) and display it on the 4x20 LCD. The examples in the Software guide simply invoke errors. Issues with Initializing LCD, GetVoltage are commands not recognized by the IDE.

Any simple code out there that I can learn from?

> ...When I start a new project for the LCDX the system automatically
loads code for LCD Driver, Relay Driver, Sound Drivers etc. All seem to
do nothing. Do I need all of these files, all of the time?

No, they are support routines that you can use to operate the LCDX. As
with any BasicX subroutine, if your code doesn't call a routine, the
routine is automatically not included in the compiled code. There is,
therefore, no disadvantage to keeping the routines in your source code
for, perhaps, future use. You do not need to use any of those routines,
and you can modify them as you see fit.

For example, here is an LCDX project I did last year. The source is a
single file that includes the support routines, some modified.
http://rightime.com/tmp/LCDX_Test.zip This should compile and run on
your LCDX as is, but you won't be able to control it without the
standard 4x4 keyboard that is supplied with the kit. Even without a
keyboard, though, you should see the display splash screen and false
data (lacking the corresponding project hardware).

> ... Any simple code out there that I can learn from?

Have you worked with the two sample LCDX apps ? Do you have the LCDX
kit (with the keyboard)? Did you look at the files on the CD?

Tom