Sign in

username:

password:



Not a member?

Search basicx



Search tips

Subscribe to basicx



basicx by Keywords

Accelerometer | ADC | ADXL | Adxl20 | AVR | BasicStamp | BX-35 | BX28 | BX35 | COM3 | Compiler | Downloader | EEPROM | Electromagnet | GetADC | GP2D1 | GPS | I2C | IDE | Keypad | LCD | LCD+ | MIDI | Motors | Multitasking | Netmedia | Networking | PCB | PID | PlaySound | PWM | Relays | RTC | Servo | ShiftOut | SitePlayer | SPI | Stack | Timer | USB

Ads

Discussion Groups

Discussion Groups | BasicX | Fresh from the stamp community

Discussion forum for the BasicX family of microcontroller chips.

Fresh from the stamp community - Nicholas Smith - Jun 21 8:50:00 2000

Hello all, I'm new to BASICX - I've come from the STAMP community and I was
wondering how easy its going to be to use my old STAMP modules with my new
BX-24 when I get it. (I ordered the dev kit yesterday) You see, most of
these are controlled via serial commands. I know the BX-24 can assign COM3
to any output pin but a quick look at the manual shows this needs setting
up. On the STAMP you just told it what pin to use when you want to do SERIN,
SEROUT command. So, what I'm trying to ask is can I just write a sub-routine
that I can pass a pin number, speed and string command and It will setup
COM3 and then send the string command or does the BX-24 not like continuous
changing of its COM3 config? It will probably tell me thin in the doc's when
by dev kit arrives but I'm just can't to impatient! :-)

Cheers all.
Nik





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


Re: Fresh from the stamp community - Author Unknown - Jun 21 9:44:00 2000

At 02:50 PM 6/21/00 +0100, you wrote:

>Hello all, I'm new to BASICX - I've come from the STAMP community and I was
>wondering how easy its going to be to use my old STAMP modules with my new
>BX-24 when I get it. (I ordered the dev kit yesterday) You see, most of
>these are controlled via serial commands. I know the BX-24 can assign COM3
>to any output pin but a quick look at the manual shows this needs setting
>up. On the STAMP you just told it what pin to use when you want to do SERIN,
>SEROUT command. So, what I'm trying to ask is can I just write a sub-routine
>that I can pass a pin number, speed and string command and It will setup
>COM3 and then send the string command or does the BX-24 not like continuous
>changing of its COM3 config? It will probably tell me thin in the doc's when
>by dev kit arrives but I'm just can't to impatient! :-)

You can download the docs from the web site - check serialport.bas, it has
functions for setting up and using the serial ports.

Duncan





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

Re: Fresh from the stamp community - Tony Brenke - Jun 21 9:49:00 2000

this is posable. --- Nicholas Smith <> wrote:
> Hello all, I'm new to BASICX - I've come from the
> STAMP community and I was
> wondering how easy its going to be to use my old
> STAMP modules with my new
> BX-24 when I get it. (I ordered the dev kit
> yesterday) You see, most of
> these are controlled via serial commands. I know the
> BX-24 can assign COM3
> to any output pin but a quick look at the manual
> shows this needs setting
> up. On the STAMP you just told it what pin to use
> when you want to do SERIN,
> SEROUT command. So, what I'm trying to ask is can I
> just write a sub-routine
> that I can pass a pin number, speed and string
> command and It will setup
> COM3 and then send the string command or does the
> BX-24 not like continuous
> changing of its COM3 config? It will probably tell
> me thin in the doc's when
> by dev kit arrives but I'm just can't to impatient!
> :-)
>
> Cheers all.
> Nik >
------------------------------------------------------------------------
> $BCg4V$H$O$8$a$k!"Cg4V$r8+$D$1$k!!#e%0%k!<%W(B
> $B!!!!!!!V%0%k!<%W%a!<%k$7$^$;$s$+!)!W(B
>
$B%5!<%/%k!&F1Ak2q!&F1N=!&%S%8%M%9!&2HB2$G$I$&$>!*(B
> $B!!(Bhttp://www.egroups.co.jp/info/features.html
>
http://click.egroups.com/1/3411/8/_/565855/_/961595317/
>
------------------------------------------------------------------------

__________________________________________________





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

Re: Fresh from the stamp community - Jon Hylands - Jun 21 14:11:00 2000

On Wed, 21 Jun 2000 14:50:37 +0100, "Nicholas Smith"
<> wrote:

> So, what I'm trying to ask is can I just write a sub-routine
> that I can pass a pin number, speed and string command and It will setup
> COM3 and then send the string command or does the BX-24 not like continuous
> changing of its COM3 config?

Yeah, I do this all the time. You can reassign the COM3 pin at will,
with (as near as I can tell) no noticeable overhead.

Later,
Jon

--------------------------------------------------------------
Jon Hylands http://www.huv.com/jon

Project: Micro Seeker (Micro Autonomous Underwater Vehicle)
http://www.huv.com





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