counter command


Closed Thread
Results 1 to 3 of 3

Thread: counter command

Hybrid View

  1. #1
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Are you sure you've got the right forum?
    I don't think these lines will compile and run correctly using PicBasicPro...
    Code:
    VAR1 = PulsIn RPMPoort , Laag  
    VAR2 = PulsIn RPMPoort , Hoog  
    ...........
    VAR1 = PulsIn KmPoort , Laag  
    VAR2 = PulsIn KmPoort , Hoog  
    ...........
      Case (95 * V1 * Diff) To (105 * V1 * Diff)              ; gear ratios +- 5%          
          versnellingstemp[i] = 1
      Case (96 * V2 * Diff) To (104 * V2 * Diff)             
         versnellingstemp[i] = 2
      Case (97 * V3 * Diff) To (103 * V3 * Diff)              
        versnellingstemp[i] = 3
      Case (98 * V4 * Diff) To (102 * V4 * Diff)             
         versnellingstemp[i] = 4
      Case (99 * V5 * Diff) To (101 * V5 * Diff)             
        versnellingstemp[i] = 5
    .............

  2. #2
    Join Date
    Aug 2008
    Posts
    2


    Did you find this post helpful? Yes | No

    Default

    hi,

    Thanks for the reply. Maybe not, but I thought that I needed to be here. This is code from the Crownhill proton IDE developer. I see now I need to be on the proton picbasic forum.

    Sorry for the inconvenience..

Similar Threads

  1. Active low input?
    By CosMecc in forum mel PIC BASIC Pro
    Replies: 14
    Last Post: - 8th August 2010, 21:31
  2. Sony LanC Program
    By l_gaminde in forum Code Examples
    Replies: 2
    Last Post: - 25th September 2009, 19:51
  3. Replies: 14
    Last Post: - 26th September 2007, 06:41
  4. Microcontroller with 2 way paging application problem
    By oneohthree in forum mel PIC BASIC Pro
    Replies: 30
    Last Post: - 20th April 2007, 18:27
  5. Can I do this???
    By noobie in forum mel PIC BASIC
    Replies: 2
    Last Post: - 10th June 2006, 19:57

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