Search Results - MEL PICBASIC Forum


Search:

Type: Posts; User: FinchPJ; Keyword(s):

Search: Search took 0.00 seconds.

  1. Replies
    13
    Views
    12,669

    Re: Multiple Pulsin Measurements

    I decided to try and make the assembler less ugly first by using indirect addressing to access the Period[8] array but it is no faster than my laborious method and this one will only run on an...
  2. Replies
    13
    Views
    12,669

    Re: Multiple Pulsin Measurements

    Thanks so much for your helpful thoughts - I will go away and work at your suggestion - I agree interrupts may not be accurate enough - you are quite correct I am monitoring the 8 baby PICs'...
  3. Replies
    13
    Views
    12,669

    Re: Multiple Pulsin Measurements

    Thanks for your advice - I will think about your "Fun stuff" - actually the actual timings/test results are the opposite of what you understood from my description:
    so for a 1000 uS pulse you get as...
  4. Replies
    13
    Views
    12,669

    Re: Multiple Pulsin Measurements

    OK - the scenario is measuring multiple (8) pulses arising from eight simple 12F675 circuits outputing pulses - I can change that to whatever I want, currently 1mSec pulse every 50 mSec, but the...
  5. Replies
    13
    Views
    12,669

    Re: Multiple Pulsin Measurements

    I need to make 8 simultaneous (relatively) measurements of pulsewidth on 8 different input pins - is there a PIC that could handle this with timers or interrrupts?
  6. Replies
    13
    Views
    12,669

    Re: Multiple Pulsin Measurements

    OK - here it is in Assembler - disappointingly not that much faster!

    '**** mPULSIN defines ***
    Period var word[7]
    mPort var PortB
    Mask con %00000011 'Mask of port pins to check
    i ...
  7. Replies
    13
    Views
    12,669

    Re: Multiple Pulsin Measurements

    OK - I have written a PicBasic routine to do mPULSIN - a bit slow as you would expect, but works


    for i = 0 to 7 : Period[i] = 0 : next
    pCount = 65535 '...
  8. Replies
    13
    Views
    12,669

    Multiple Pulsin Measurements

    Does anyone have any experience of multiple PULSIN measurements - ie simultaneous on more than one pin - obviously would need to sample for a full sample period - 65535 cycles to be sure no pulses...
Results 1 to 8 of 8