PIC communication


Closed Thread
Results 1 to 6 of 6

Hybrid View

  1. #1
    Join Date
    Jul 2009
    Posts
    5


    Did you find this post helpful? Yes | No

    Default

    Thanks for the links, I've read over them and figured a few things out.
    What i'm stuck on now is the math to try and figure out how I can make a timer that ticks every 1 or 10 microseconds. To encode the IR data I need to step in 600 microsecond intervals. I figure if I write an interrupt timer, that does nothing but increase a tick count (c = c + 1) I can check in my main loop of I should stop/start the IR data: If (Count = 60) Then Low IRPin
    should work if Count is incremented every 10 microseconds :/

    I found an Elapsed time Demo but I need something that is at least 10x more accurate then that [ideally 50x-100x more accurate]

  2. #2
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Do a forum search for mister e multicalc. Most of us cheat anymore and us it
    Dave
    Always wear safety glasses while programming.

Similar Threads

  1. 2 PIC, serial communication
    By lightgreen in forum Serial
    Replies: 6
    Last Post: - 21st November 2009, 16:20
  2. PIC to PIC "wired" serial one-way communication - SERIN2/SEROUT2
    By flotulopex in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 14th April 2008, 21:02
  3. PIC 2 PIC communication
    By Mario in forum Forum Requests
    Replies: 16
    Last Post: - 28th April 2006, 02:56
  4. Serial communication PIC to PIC help.
    By Rubicon in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 24th January 2005, 16:45
  5. Pic to Pic communication?
    By Rob Martin in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 11th April 2004, 20:41

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

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