Sign in

username:

password:



Not a member?

Search piclist



Search tips

Subscribe to piclist



piclist by Keywords

12F675 | 16F628 | 16F84 | 16f877 | 16F877A | 16F88 | 18F458 | ADC | AVR | Bootloader | CAN | CCS | CRC | EAGLE | EEPROM | ICD | ICSP | IDE | JDM | LED | Macros | Microchip | MPLAB | PCB-CAD | PIC10F | Pic12f675 | PIC16F84 | PIC16F84A | PIC16F877 | PIC18 | PIC18F452 | PicBasic | PICC | PICSTART | PWM | RS-485 | RS232 | SMT | SPI | UART | USART | USB | Wireless | Wisp628 | Xilinx

Discussion Groups

Discussion Groups | Piclist | MPLAB unable to undo?

A discussion group for the PICMicro microcontroller. Also called the Microchip PIC, this list is dedicated to the use and abuse of this fine, simple, microcontroller. Close to topic posts are welcome, ie. general electronics.

LCD Problem - Author Unknown - Dec 21 1:23:00 2003


Hey,
I have a Serial LCD from www.seetron.com and it appears that when I
send output to it, it appears as gibberish. Any ideas as to why?
I'm using a 16F628 with picbasic from melabs.

My code is:
Serout 1, N2400, ("Hello")

My baud rate is correctly set, so I don't see why it should error up.

Thanks.






(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )

RE: LCD Problem - Tom Deutschman - Dec 21 1:40:00 2003

Message
Not sure of your hardware, but you could try SEROUT 1, T2400, ("Hello")
Notice the T instead of the N for true instead of inverted data to the display.
 
Tom
-----Original Message-----
From: h...@yahoo.com [mailto:h...@yahoo.com]
Sent: Saturday, December 20, 2003 10:23 PM
To: p...@yahoogroups.com
Subject: [piclist] LCD Problem

Hey,
I have a Serial LCD from www.seetron.com and it appears that when I
send output to it, it appears as gibberish.  Any ideas as to why?
I'm using a 16F628 with picbasic from melabs.

My code is:
Serout 1, N2400, ("Hello")

My baud rate is correctly set, so I don't see why it should error up.

Thanks.


to unsubscribe, go to http://www.yahoogroups.com and follow the instructions

Yahoo! Groups Links
  • To






(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )

Re: LCD Problem - Author Unknown - Dec 21 1:46:00 2003

Hey,
It's a 2x16 Serial LCD. I tried the "T", but it didn't work. Any
other ideas? I get the first few letters to be displayed okay, but
the rest is gibberish. Thanks. --- In , "Tom Deutschman" <tom@w...> wrote:
> Not sure of your hardware, but you could try SEROUT 1, T2400,
("Hello")
> Notice the T instead of the N for true instead of inverted data to
the
> display.
>
> Tom
>
> -----Original Message-----
> From: honamos@y... [mailto:honamos@y...]
> Sent: Saturday, December 20, 2003 10:23 PM
> To:
> Subject: [piclist] LCD Problem > Hey,
> I have a Serial LCD from www.seetron.com and it appears that when I
> send output to it, it appears as gibberish. Any ideas as to why?
> I'm using a 16F628 with picbasic from melabs.
>
> My code is:
> Serout 1, N2400, ("Hello")
>
> My baud rate is correctly set, so I don't see why it should error
up.
>
> Thanks. > to unsubscribe, go to http://www.yahoogroups.com and follow the
> instructions >
> Yahoo! Groups Sponsor
>
> ADVERTISEMENT <http://rd.yahoo.com/SIG=12c6bqt9e/M=266841.4316200.5507732.1261774/D=
eg
>
roupweb/S=1706554205:HM/EXP=1072074186/A=1911859/R=0/*http://www.lifes
ca
> peinc.com/picasa/landing.php?capid=222&caId=1988> click here
>
> <http://us.adserver.yahoo.com/l?
M=266841.4316200.5507732.1261774/D=egrou
> pmail/S=:HM/A=1911859/rand=665515336 > _____
>
> > .





(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )

MPLAB unable to undo? - Louis Goh - Dec 21 2:10:00 2003

Hi, i'm now using MPLAB version 6.40. However, i
noticed that since version 6.30, i cannot undo changes
made in the code after i've complied it.

For example in version 6.20, i was able to make some
changes to the code, compile it, test it and if the
code dod not work i could simply undo the code in
MPLAB editor. However since 6.30, i can't do that any
more. Any changes made are permanent after compilation
and i can't undo the last changes made....

Can anyone help me on this?

Regards

__________________________________________________






(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )

Re: LCD Problem - Phil - Dec 21 4:38:00 2003

If I recall correctly, you are using intosc, right? well, that will
only sort of work for serial i/o baud rate generation. I'm guessing
that what happens is the internal oscilator isn't quite exact
(despite the marketing use of "precision internal oscillator" in the
literature). with it being slightly off, you will get a slightly
wrong baud rate divisor and the error will accumulate until the
sender and receiver get out of sync and the receiver interprets the
data incorrectly.

You could try to play with the brg value (if picbasic lets you), try
+1 or -1 though I suspect it is to no avail.

A better way to go is to get a 4Mhz crystal and 2 22pF caps.
www.glitchbuster.com carries them at great prices, no minimum and
quick/reasonable shipping. (no affiliation, I just want him to be in
business).

--- In , honamos@y... wrote:
> Hey,
> It's a 2x16 Serial LCD. I tried the "T", but it didn't work. Any
> other ideas? I get the first few letters to be displayed okay, but
> the rest is gibberish. > Thanks. > --- In , "Tom Deutschman" <tom@w...> wrote:
> > Not sure of your hardware, but you could try SEROUT 1, T2400,
> ("Hello")
> > Notice the T instead of the N for true instead of inverted data
to
> the
> > display.
> >
> > Tom
> >
> > -----Original Message-----
> > From: honamos@y... [mailto:honamos@y...]
> > Sent: Saturday, December 20, 2003 10:23 PM
> > To:
> > Subject: [piclist] LCD Problem
> >
> >
> > Hey,
> > I have a Serial LCD from www.seetron.com and it appears that when
I
> > send output to it, it appears as gibberish. Any ideas as to why?
> > I'm using a 16F628 with picbasic from melabs.
> >
> > My code is:
> > Serout 1, N2400, ("Hello")
> >
> > My baud rate is correctly set, so I don't see why it should error
> up.
> >
> > Thanks.
> >
> >
> >
> >
> >
> > to unsubscribe, go to http://www.yahoogroups.com and follow the
> > instructions
> >
> >
> >
> > Yahoo! Groups Sponsor
> >
> > ADVERTISEMENT
> >
> >
>
<http://rd.yahoo.com/SIG=12c6bqt9e/M=266841.4316200.5507732.1261774/D=
> eg
> >
>
roupweb/S=1706554205:HM/EXP=1072074186/A=1911859/R=0/*http://www.lifes
> ca
> > peinc.com/picasa/landing.php?capid=222&caId=1988> click here

> >
> > <http://us.adserver.yahoo.com/l?
> M=266841.4316200.5507732.1261774/D=egrou
> > pmail/S=:HM/A=1911859/rand=665515336>
> >
> >
> > _____
> >
> > > .





(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )

Re: MPLAB unable to undo? - martin de lange - Dec 21 6:59:00 2003

Most apps clear the undo buffer when a save is performed.  This might have just been fixed to adhere to the Windows standard as I have noticed that some other nice things that I had gotten used to like F3 for searching.
 
Most compilers can be configured to save or not save when compiling so check this out.  Unfortunately I work with a variety of compilers and assemblers so this is a strong thumb suck only.
----- Original Message -----
From: Louis Goh
To: p...@yahoogroups.com
Sent: Sunday, December 21, 2003 8:10 PM
Subject: [piclist] MPLAB unable to undo?

Hi, i'm now using MPLAB version 6.40. However, i
noticed that since version 6.30, i cannot undo changes
made in the code after i've complied it.

For example in version 6.20, i was able to make some
changes to the code, compile it, test it and if the
code dod not work i could simply undo the code in
MPLAB editor. However since 6.30, i can't do that any
more. Any changes made are permanent after compilation
and i can't undo the last changes made....

Can anyone help me on this?

Regards

__________________________________________________to unsubscribe, go to http://www.yahoogroups.com and follow the instructions
Yahoo! Groups Links
  • To





(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )

Re: MPLAB unable to undo? - rtstofer - Dec 21 9:30:00 2003


Look at Configure-Settings-Projects and you will see a selection
for 'Save Files Before Build'. Set it to No or Prompt.

--- In , Louis Goh <gsml1980@y...> wrote:
> Hi, i'm now using MPLAB version 6.40. However, i
> noticed that since version 6.30, i cannot undo changes
> made in the code after i've complied it.
>
> For example in version 6.20, i was able to make some
> changes to the code, compile it, test it and if the
> code dod not work i could simply undo the code in
> MPLAB editor. However since 6.30, i can't do that any
> more. Any changes made are permanent after compilation
> and i can't undo the last changes made....
>
> Can anyone help me on this?
>
> Regards
>
> __________________________________________________





(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )

Re: LCD Problem - Author Unknown - Dec 21 9:37:00 2003

Hey,
When using the external oscillator, do I set it to "XT"? If I do
this, it simple does not work at all. I have a 4 MHz oscillator with
2 capacitors.
Thanks.
Shamoon --- In , "Phil" <phil1960us@y...> wrote:
> If I recall correctly, you are using intosc, right? well, that
will
> only sort of work for serial i/o baud rate generation. I'm
guessing
> that what happens is the internal oscilator isn't quite exact
> (despite the marketing use of "precision internal oscillator" in
the
> literature). with it being slightly off, you will get a slightly
> wrong baud rate divisor and the error will accumulate until the
> sender and receiver get out of sync and the receiver interprets the
> data incorrectly.
>
> You could try to play with the brg value (if picbasic lets you),
try
> +1 or -1 though I suspect it is to no avail.
>
> A better way to go is to get a 4Mhz crystal and 2 22pF caps.
> www.glitchbuster.com carries them at great prices, no minimum and
> quick/reasonable shipping. (no affiliation, I just want him to be
in
> business).
>
> --- In , honamos@y... wrote:
> > Hey,
> > It's a 2x16 Serial LCD. I tried the "T", but it didn't work.
Any
> > other ideas? I get the first few letters to be displayed okay,
but
> > the rest is gibberish.
> >
> >
> > Thanks.
> >
> >
> > --- In , "Tom Deutschman" <tom@w...> wrote:
> > > Not sure of your hardware, but you could try SEROUT 1, T2400,
> > ("Hello")
> > > Notice the T instead of the N for true instead of inverted data
> to
> > the
> > > display.
> > >
> > > Tom
> > >
> > > -----Original Message-----
> > > From: honamos@y... [mailto:honamos@y...]
> > > Sent: Saturday, December 20, 2003 10:23 PM
> > > To:
> > > Subject: [piclist] LCD Problem
> > >
> > >
> > > Hey,
> > > I have a Serial LCD from www.seetron.com and it appears that
when
> I
> > > send output to it, it appears as gibberish. Any ideas as to
why?
> > > I'm using a 16F628 with picbasic from melabs.
> > >
> > > My code is:
> > > Serout 1, N2400, ("Hello")
> > >
> > > My baud rate is correctly set, so I don't see why it should
error
> > up.
> > >
> > > Thanks.
> > >
> > >
> > >
> > >
> > >
> > > to unsubscribe, go to http://www.yahoogroups.com and follow the
> > > instructions
> > >
> > >
> > >
> > > Yahoo! Groups Sponsor
> > >
> > > ADVERTISEMENT
> > >
> > >
> >
>
<http://rd.yahoo.com/SIG=12c6bqt9e/M=266841.4316200.5507732.1261774/D=
> > eg
> > >
> >
>
roupweb/S=1706554205:HM/EXP=1072074186/A=1911859/R=0/*http://www.lifes
> > ca
> > > peinc.com/picasa/landing.php?capid=222&caId=1988> click here
>
> > >
> > > <http://us.adserver.yahoo.com/l?
> > M=266841.4316200.5507732.1261774/D=egrou
> > > pmail/S=:HM/A=1911859/rand=665515336>
> > >
> > >
> > > _____
> > >
> > > > .





(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )

Re: Re: MPLAB unable to undo? - Louis Goh - Dec 21 11:45:00 2003

Hi, i looked at v6.20 settings and they are the same
as that in v6.40.

If i set 'Save Files Before Build' to No, MPLAB with
build with the old file and not the editted file. You
have to save the file first before building, but in
doing so the buffer for undo is gone???

Regards --- rtstofer <> wrote:
---------------------------------

Look at Configure-Settings-Projects and you will see a
selection
for 'Save Files Before Build'. Set it to No or
Prompt.

--- In , Louis Goh
<gsml1980@y...> wrote:
> Hi, i'm now using MPLAB version 6.40. However, i
> noticed that since version 6.30, i cannot undo
changes
> made in the code after i've complied it.
>
> For example in version 6.20, i was able to make some
> changes to the code, compile it, test it and if the
> code dod not work i could simply undo the code in
> MPLAB editor. However since 6.30, i can't do that
any
> more. Any changes made are permanent after
compilation
> and i can't undo the last changes made....
>
> Can anyone help me on this?
>
> Regards
>
> __________________________________________________
to unsubscribe, go to http://www.yahoogroups.com and
follow the instructions
---------------------------------
Yahoo! Groups Links

To __________________________________________________





(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )

Re: Re: LCD Problem - Chad Russel - Dec 21 12:27:00 2003

How are you doing hand shaking?

--- Phil <> wrote:
> If I recall correctly, you are using intosc, right? well, that will
> only sort of work for serial i/o baud rate generation. I'm guessing
> that what happens is the internal oscilator isn't quite exact
> (despite the marketing use of "precision internal oscillator" in the
> literature). with it being slightly off, you will get a slightly
> wrong baud rate divisor and the error will accumulate until the
> sender and receiver get out of sync and the receiver interprets the
> data incorrectly.
>
> You could try to play with the brg value (if picbasic lets you), try
> +1 or -1 though I suspect it is to no avail.
>
> A better way to go is to get a 4Mhz crystal and 2 22pF caps.
> www.glitchbuster.com carries them at great prices, no minimum and
> quick/reasonable shipping. (no affiliation, I just want him to be in
>
> business).
>
> --- In , honamos@y... wrote:
> > Hey,
> > It's a 2x16 Serial LCD. I tried the "T", but it didn't work. Any
> > other ideas? I get the first few letters to be displayed okay, but
>
> > the rest is gibberish.
> >
> >
> > Thanks.
> >
> >
> > --- In , "Tom Deutschman" <tom@w...> wrote:
> > > Not sure of your hardware, but you could try SEROUT 1, T2400,
> > ("Hello")
> > > Notice the T instead of the N for true instead of inverted data
> to
> > the
> > > display.
> > >
> > > Tom
> > >
> > > -----Original Message-----
> > > From: honamos@y... [mailto:honamos@y...]
> > > Sent: Saturday, December 20, 2003 10:23 PM
> > > To:
> > > Subject: [piclist] LCD Problem
> > >
> > >
> > > Hey,
> > > I have a Serial LCD from www.seetron.com and it appears that when
>
> I
> > > send output to it, it appears as gibberish. Any ideas as to why?
> > > I'm using a 16F628 with picbasic from melabs.
> > >
> > > My code is:
> > > Serout 1, N2400, ("Hello")
> > >
> > > My baud rate is correctly set, so I don't see why it should error
>
> > up.
> > >
> > > Thanks.
> > >
> > >
> > >
> > >
> > >
> > > to unsubscribe, go to http://www.yahoogroups.com and follow the
> > > instructions
> > >
> > >
> > >
> > > Yahoo! Groups Sponsor
> > >
> > > ADVERTISEMENT
> > >
> > >
> >
>
<http://rd.yahoo.com/SIG=12c6bqt9e/M=266841.4316200.5507732.1261774/D=
> > eg
> > >
> >
>
roupweb/S=1706554205:HM/EXP=1072074186/A=1911859/R=0/*http://www.lifes
> > ca
> > > peinc.com/picasa/landing.php?capid=222&caId=1988> click here
>
> > >
> > > <http://us.adserver.yahoo.com/l?
> > M=266841.4316200.5507732.1261774/D=egrou
> > > pmail/S=:HM/A=1911859/rand=665515336>
> > >
> > >
> > > _____
> > >
> > > > .

__________________________________





(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )

Re: LCD Problem - Phil - Dec 21 14:13:00 2003

The data sheet in section 14.2 says that you use XT for 4 mhz so
you're ok there. It also says that higher cap values are more
stable. you might want to double check your connections. ceramic
resonators (what I think you have) can sometimes be finnicky. Check
the data sheet , it says that in some situations you need a serial
resistor.

I much prefer crystals - cheap, accurate and reliable. I've never
gotten serial I/O to work with INTOSC.

Also, if you can tell picbasic the clock rate, you could try
different clock rates (like 3.95mhz or 4.05mhz) to see if that helped.

--- In , honamos@y... wrote:
> Hey,
> When using the external oscillator, do I set it to "XT"? If I do
> this, it simple does not work at all. I have a 4 MHz oscillator
with
> 2 capacitors.
> Thanks.
> Shamoon > --- In , "Phil" <phil1960us@y...> wrote:
> > If I recall correctly, you are using intosc, right? well, that
> will
> > only sort of work for serial i/o baud rate generation. I'm
> guessing
> > that what happens is the internal oscilator isn't quite exact
> > (despite the marketing use of "precision internal oscillator" in
> the
> > literature). with it being slightly off, you will get a slightly
> > wrong baud rate divisor and the error will accumulate until the
> > sender and receiver get out of sync and the receiver interprets
the
> > data incorrectly.
> >
> > You could try to play with the brg value (if picbasic lets you),
> try
> > +1 or -1 though I suspect it is to no avail.
> >
> > A better way to go is to get a 4Mhz crystal and 2 22pF caps.
> > www.glitchbuster.com carries them at great prices, no minimum and
> > quick/reasonable shipping. (no affiliation, I just want him to
be
> in
> > business).





(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )

Re: LCD Problem - Author Unknown - Dec 21 14:29:00 2003

I have a 4.000MHZ crystal and 2 22pF cap's. I have it set to XT and
still no dice. With XT, nothing works and with INTRC, it works but
spits out garbage.

Thoughts? --- In , "Phil" <phil1960us@y...> wrote:
> The data sheet in section 14.2 says that you use XT for 4 mhz so
> you're ok there. It also says that higher cap values are more
> stable. you might want to double check your connections. ceramic
> resonators (what I think you have) can sometimes be finnicky.
Check
> the data sheet , it says that in some situations you need a serial
> resistor.
>
> I much prefer crystals - cheap, accurate and reliable. I've never
> gotten serial I/O to work with INTOSC.
>
> Also, if you can tell picbasic the clock rate, you could try
> different clock rates (like 3.95mhz or 4.05mhz) to see if that
helped.
>
> --- In , honamos@y... wrote:
> > Hey,
> > When using the external oscillator, do I set it to "XT"? If I do
> > this, it simple does not work at all. I have a 4 MHz oscillator
> with
> > 2 capacitors.
> > Thanks.
> > Shamoon
> >
> >
> > --- In , "Phil" <phil1960us@y...> wrote:
> > > If I recall correctly, you are using intosc, right? well, that
> > will
> > > only sort of work for serial i/o baud rate generation. I'm
> > guessing
> > > that what happens is the internal oscilator isn't quite exact
> > > (despite the marketing use of "precision internal oscillator"
in
> > the
> > > literature). with it being slightly off, you will get a
slightly
> > > wrong baud rate divisor and the error will accumulate until the
> > > sender and receiver get out of sync and the receiver interprets
> the
> > > data incorrectly.
> > >
> > > You could try to play with the brg value (if picbasic lets
you),
> > try
> > > +1 or -1 though I suspect it is to no avail.
> > >
> > > A better way to go is to get a 4Mhz crystal and 2 22pF caps.
> > > www.glitchbuster.com carries them at great prices, no minimum
and
> > > quick/reasonable shipping. (no affiliation, I just want him to
> be
> > in
> > > business).




(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )