Shop OBEX P1 Docs P2 Docs Learn Events
Necesito ayuda! — Parallax Forums

Necesito ayuda!

hooktxuhooktxu Posts: 33
edited 2009-03-17 16:18 in Propeller 1
Hola a todos! soy nueva en esto y estoy un poco perdida! tengo que enviar un dato por el puerto serie pasando por el propeller hasta el PC. Abro el hyperterminal pero nada de nada! he implementado un peque

Comments

  • SRLMSRLM Posts: 5,045
    edited 2009-03-17 09:25
    First off, this is an English forum (as far as I know. True, moderators?). If you don't read or write english, you can translate the answers or post on the Spanish forums.

    Anyway, try something like this:

    CON
    
      'These are clock constants
      _xinfreq = 5_000_000                      
      _clkmode = xtal1 | pll16x
    
    OBJ
      debug  : "FullDuplexSerialPlus"
    
    PUB main
      'Start serial communication, and wait 2 s for Parallax Serial Terminal connection.
      debug.Start(31, 30, 0, 57600)
    
      waitcnt(clkfreq*2 + cnt)
    
      debug.str(string("Hello World!"))
    
    



    I haven't tested it yet, but it looks like it should work. With either method, don't forget to select the correct com port and baud rate.
  • hooktxuhooktxu Posts: 33
    edited 2009-03-17 09:37
    Sorry for the inconvenience of Spanish, but I have some problems with English.
    I loaded the program you sent me and I do not get results. May be that the connections fail. I used a max3232.
  • AleAle Posts: 2,363
    edited 2009-03-17 12:06
    hooktxu:

    I'll write first in english so nobody complains, and then in Spanish.

    The FullDuplexSerialPlus object has as first two parameters the pins used for RX and TX. Those you have to connect via a Prop-plug or Max232 (or similar, like the one you used) to the PC. Verify that all connections are correct and that the correct Port in your PC is used. Just saying "it does not work" do not help us because we do not know/see what you have connected or what you have done. So, please try to describe what you have done, tested how and so. That always help when discussing problems.

    You can use BST (Brad Spin Tool) (Similar but better than PropTool) to program the propelle and use its integrated terminal facilities that work very well.

    El "objeto" FullDuplexSerial necesita como primeros 2 argumentos el n
  • Luis DigitalLuis Digital Posts: 371
    edited 2009-03-17 15:45
    SRLM said...
    First off, this is an English forum (as far as I know. True, moderators?). If you don't read or write english, you can translate the answers or post on the Spanish forums.

    Really does not exist spanish forum in Parallax Website, but there is one mail list.

    Post Edited (Luis Digital) : 3/17/2009 3:51:18 PM GMT
  • SRLMSRLM Posts: 5,045
    edited 2009-03-17 16:18
    @Luis

    There is a spanish forum: http://espanol.groups.yahoo.com/group/ParallaxenEspanol/

    I have no idea how active it is or what topics are discussed, but it's there.
Sign In or Register to comment.