+ Reply to Thread
Page 2 of 2
First 1 2
Results 16 to 19 of 19

Thread: How to switch between programs using ISR

  1. #16
    sohagiut Newbie
    Join Date
    Feb 2008
    Posts
    23

    Default

    what does it mean by "The data is immediately sent back to PC". Does it means the output will be displayed at the pc. how?


  2. #17
    3v0
    3v0 is offline
    3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent
    Join Date
    Jul 2006
    Location
    USA
    Posts
    6,457
    Blog Entries
    11

    Default

    Quote Originally Posted by sohagiut
    what does it mean by "The data is immediately sent back to PC". Does it means the output will be displayed at the pc. how?
    Yes. For test one as each char is recieved by the PIC it is sent back to the PC by the uart.


    Read the code.
    This code seems to be way over your head. Is it home work?
    Have you done the simple stuff link blinking LEDs etc.
    Please post questions to the forums. PM's are for personal communication.

    BCHS/3v0's Tutorials
    Junebug USB PIC programmer kit., USB Bit Whacker,
    The 15 Minute Printed Circuit Board! (+drill time)

  3. #18
    sohagiut Newbie
    Join Date
    Feb 2008
    Posts
    23

    Default

    Actually i tried to program and used the Hyperterminal with proper settings to see the output. but nothing appears.

  4. #19
    3v0
    3v0 is offline
    3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent
    Join Date
    Jul 2006
    Location
    USA
    Posts
    6,457
    Blog Entries
    11

    Default

    Quote Originally Posted by sohagiut
    Actually i tried to program and used the Hyperterminal with proper settings to see the output. but nothing appears.
    If it was that easy everyone would do it.

    Debug the code.

    Verify that you can select a given test with a switch.

    Then choose or write a test that sends data from the PIC to the PC.

    Then choose or write a test that sends data from the PC to the PIC.

    Then try one that reads data from the PC and sends it back.

    Use the debugger.
    Please post questions to the forums. PM's are for personal communication.

    BCHS/3v0's Tutorials
    Junebug USB PIC programmer kit., USB Bit Whacker,
    The 15 Minute Printed Circuit Board! (+drill time)

+ Reply to Thread
Page 2 of 2
First 1 2

Similar Threads

  1. Touch Sensitive Switch (Take 2)
    By MonkeyMera in forum Electronic Projects Design/Ideas/Reviews
    Replies: 10
    Latest: 15th February 2010, 10:38 AM
  2. Button Debounce Coding help
    By Suraj143 in forum Micro Controllers
    Replies: 25
    Latest: 4th August 2007, 10:49 AM
  3. Please help me in writing code
    By abdosat2000 in forum Micro Controllers
    Replies: 9
    Latest: 5th June 2007, 02:41 PM
  4. PIC Switch Management Techniques
    By Mike, K8LH in forum Micro Controllers
    Replies: 2
    Latest: 28th September 2006, 01:33 PM

Tags for this Thread