gnupic: Problem with LCD module in gpsim


Previous by date: 3 May 2002 15:43:14 -0000 Problem with LCD module in gpsim, Carlos Ghirardelli
Next by date: 3 May 2002 15:43:14 -0000 Re: Problem with LCD module in gpsim, Carlos Ghirardelli
Previous in thread: 3 May 2002 15:43:14 -0000 Problem with LCD module in gpsim, Carlos Ghirardelli
Next in thread: 3 May 2002 15:43:14 -0000 Re: Problem with LCD module in gpsim, Carlos Ghirardelli

Subject: Re: Problem with LCD module in gpsim
From: Scott Dattalo ####@####.####
Date: 3 May 2002 15:43:14 -0000
Message-Id: <Pine.LNX.4.33.0205030821450.25442-100000@ruckus.brouhaha.com>

On Fri, 3 May 2002, Carlos Ghirardelli wrote:

> Hi all,
> 	I'm running gpsim in suse 7.1 with Kernel 2.4.0-4GB and when i try to load
> the lcd module version 0.1.1 from the example directory i get the followings
> messagges:
>
> -At the moment when is loaded the module:
> Gtk-CRITICAL **: file gtkwidget.c: line 3824 (gtk_widget_set_events):
> assertion
> `!GTK_WIDGET_REALIZED (widget)' failed.

Hmm. I see that too. I'll look into that.

>
> -When i run the project:
> LCD_CMD_SET_CGRAM
> NOT SUPPORTED
> LCD_CMD_CURSOR_DISPLAY
> NOT SUPPORTED
> UNKOWN command : 0x0
>
> and i get any charecter on the display

The LCD module does not support every single feature of the LCD. In this
case, gpsim is telling you that two commands were recognized, but are not
supported. A third command was not even recognized.



Now, even though the gtk error is displayed, the LCD module does run
correctly.  I suggest trying out the example software that is in the
lcd-0.1.1/examples subdirectory.

Invoke the example like this:

gpsim -c lcd_mod.stc

That will start gpsim, load the example, load the lcd, hook everything up,
etc. Then when you run it you should see the message "GPSIM WROTE THIS"
printed on the display.

If the example works, then either your software is using a feature that is
not supprted by the gpsim LCD Module or there is a bug in your code. If
it's the former and prevents your code from working, then please let me
know and I'll try to fix it.

Also, I'll look into the problems with gtk... (BTW, there is a graphical
bug in the LCD module. For some reason all of gpsim's windows get painted
with an LCD green background when the LCD module is loaded. I think I know
why.)

Regards,
Scott


Previous by date: 3 May 2002 15:43:14 -0000 Problem with LCD module in gpsim, Carlos Ghirardelli
Next by date: 3 May 2002 15:43:14 -0000 Re: Problem with LCD module in gpsim, Carlos Ghirardelli
Previous in thread: 3 May 2002 15:43:14 -0000 Problem with LCD module in gpsim, Carlos Ghirardelli
Next in thread: 3 May 2002 15:43:14 -0000 Re: Problem with LCD module in gpsim, Carlos Ghirardelli


Powered by ezmlm-browse 0.20.