detect oscillating input


Closed Thread
Results 1 to 2 of 2
  1. #1
    fester addams's Avatar
    fester addams Guest

    Default detect oscillating input

    How do I get my PIC to tell if an input is oscillating/toggling at about 3 Hertz or so?

    FA

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    depending of what your pic do. You can use TIMER interrupt to calculate pulses/secondes on this pin. if your PIC only monitor this pin you can use PULSIN,COUNT commands.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

Similar Threads

  1. Sony LanC Program
    By l_gaminde in forum Code Examples
    Replies: 2
    Last Post: - 25th September 2009, 18:51
  2. How do I detect a polarity change on an input?
    By jessey in forum mel PIC BASIC Pro
    Replies: 21
    Last Post: - 28th May 2008, 23:25
  3. Replies: 1
    Last Post: - 7th November 2007, 20:36
  4. Timing input pulses and re-outputting them
    By jamie_s in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 28th February 2007, 01:50
  5. Using LEDs as light sensors
    By skimask in forum Code Examples
    Replies: 3
    Last Post: - 30th December 2006, 22:19

Members who have read this thread : 1

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