Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Thread

Change settings UART COM2

Change settings UART COM2

2004-01-26 by sven_32@yahoo.com

in the beginning of the program

Open "com2:19200,8,n,1" For Binary As #1

further down:

*****read new settings from the eeprom

Disable Interrupts
Close #1
Open "com2:9600,8,E,1" For Binary As #1
Enable Interrupts
*
*

there is no change in the actual settings of the com port....

Please help

Re: [AVR-Chat] Change settings UART COM2

2004-01-26 by Dave VanHorn

At 03:52 PM 1/26/2004 +0000, sven_32@yahoo.com wrote:
>in the beginning of the program

Are we supposed to guess what you're referring to here?

Re: Change settings UART COM2

2004-01-27 by sven_32@yahoo.com

first I open the com port...
Open "com2:19200,8,n,1" For Binary As #1

then I recieve a command to change the settings

Disable Interrupts
Close #1
Open "com2:9600,8,E,1" For Binary As #1
Enable Interrupts

there is no change in the actual settings of the com port....

Please help

Hope that makes it more clear....

--- In AVR-Chat@yahoogroups.com, Dave VanHorn <dvanhorn@c...> wrote:
Show quoted textHide quoted text
> At 03:52 PM 1/26/2004 +0000, sven_32@y... wrote:
> >in the beginning of the program
> 
> Are we supposed to guess what you're referring to here?

Re: [AVR-Chat] Re: Change settings UART COM2

2004-01-27 by Dave VanHorn

>
>there is no change in the actual settings of the com port....
>Please help
>Hope that makes it more clear....

Not really.

Is this some version of basic for the AVR that you're working with?
If so, which one, and which version?
Which AVR are you using?
Crystal speed?

Re: Change settings UART COM2

2004-01-30 by sven_32@yahoo.com

Programming in BASCOM AVR
ATMEGA128
8Mhz internal Crystal

BASCOM-AVR IDE Version : 1.11.7.4
Compiler: Version 1.11.7.4

--- In AVR-Chat@yahoogroups.com, Dave VanHorn <dvanhorn@c...> wrote:
Show quoted textHide quoted text
> 
> >
> >there is no change in the actual settings of the com port....
> >Please help
> >Hope that makes it more clear....
> 
> Not really.
> 
> Is this some version of basic for the AVR that you're working with?
> If so, which one, and which version?
> Which AVR are you using?
> Crystal speed?

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.