+ Reply to Thread
Results 1 to 6 of 6

Thread: Problem in input command

  1. #1
    Moderator tibbu is an unknown quantity at this point tibbu's Avatar
    Join Date
    Apr 2008
    Location
    India
    Posts
    285

    Default Problem in input command

    Hello all,
    i am trying to send and receive data from serial port in Bascom8051 using input command but the code execution pauses ant input command until it gets some serial data and then goes ahead and pauses again at input and waiting for next serial data. so i cant send some serial data from microcontroller to serial port until it receives some thing from serial port. there is any other way to send and receive data simultaneously.

    Optimus Prime is here with you

  2. #2
    Moderator tibbu is an unknown quantity at this point tibbu's Avatar
    Join Date
    Apr 2008
    Location
    India
    Posts
    285

    Default

    Hello binu sir pls reply to my post.

  3. #3
    Moderator tibbu is an unknown quantity at this point tibbu's Avatar
    Join Date
    Apr 2008
    Location
    India
    Posts
    285

    Default

    anyone pls help

  4. #4
    Administrator Binu is an unknown quantity at this point Binu's Avatar
    Join Date
    Jun 2007
    Location
    Nagercoil, Tamilnadu, India.
    Posts
    6,125

    Default

    Use serial port interrupts.

    [Check out the new 8051 blog]

  5. #5
    Moderator tibbu is an unknown quantity at this point tibbu's Avatar
    Join Date
    Apr 2008
    Location
    India
    Posts
    285

    Default

    Hello sir thanks for ur reply . Pls let me know that is there any example of it in the sample library of BASCOM8051 [?]

  6. #6
    Administrator Binu is an unknown quantity at this point Binu's Avatar
    Join Date
    Jun 2007
    Location
    Nagercoil, Tamilnadu, India.
    Posts
    6,125

    Default

    Yes check "serialbuf.BAS"

    [Check out the new 8051 blog]


+ Reply to Thread

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts