Discussion forum for the BasicX family of microcontroller chips.
|
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 |
|
|
|
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 |
|
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/ > ------------------------------------------------------------------------ __________________________________________________ |
|
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 |