PropBasic using 2 cogs
hi, I am trying to use 2 cogs.In·cog0 I transmit some text to the terminal
and in cog1 I also transmitt some text to the terminal. The text sent in
cog0 gets displayed but the text sent in cog1 does not ! Can someone
show me what I am doing wrong. See my attached file. thanks - Dave
and in cog1 I also transmitt some text to the terminal. The text sent in
cog0 gets displayed but the text sent in cog1 does not ! Can someone
show me what I am doing wrong. See my attached file. thanks - Dave
Comments
Something like this:
SEROUT 30, BAUD, "in coq0"
TX_BYTE CR
INPUT 30
COGSTART Send_Data
Bean
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Use BASIC on the Propeller with the speed of assembly language.
PropBASIC thread http://forums.parallax.com/showthread.php?p=867134
March 2010 Nuts and Volts article·http://www.parallax.com/Portals/0/Downloads/docs/cols/nv/prop/col/nvp5.pdf
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
There are two rules in life:
· 1) Never divulge all information
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon McPhalen
Hollywood, CA
I just tried this and got an invaild parameter error. Is this suppose to be coq0 or cog0? Or something eles. I've tried the cog vs coq and still received the same error.
Chuck
· Here is the modifed file.
Bean
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Use BASIC on the Propeller with the speed of assembly language.
PropBASIC thread http://forums.parallax.com/showthread.php?p=867134
March 2010 Nuts and Volts article·http://www.parallax.com/Portals/0/Downloads/docs/cols/nv/prop/col/nvp5.pdf
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
There are two rules in life:
· 1) Never divulge all information