Debounce routine comments?


Closed Thread
Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default

    Hi Bill,
    I agree with ACETRONICS about the button command, I have a thought about making it easier to follow your code, instead of all caps you might try InputPortBitFlag or Input_Port_Bit_Flag.
    Ultimately only you have to look at it, I just thought it might be easier.
    JS
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

  2. #2
    Join Date
    Oct 2005
    Posts
    18


    Did you find this post helpful? Yes | No

    Default

    Joe S your suggestion will be given a trial because it started annoying me also having only capitals but sometimes habits are difficult to change.
    The reason for reinventing the wheel ,as you put it, is that from the very early days of PicBasicPro ther were some bugs and problems with this Button command and I was avoiding it to the point I realize now that I forgotten all about it.
    Having a look though in the manual I think it is not providing the same things as the "wheel".
    It is also peculiar that the manual ''prompts'' you not to use it but use an IF THEN instead.
    Now that I "apologized" I am waiting for the verdict.
    Bill

Similar Threads

  1. Matrix Keypad routine
    By mister_e in forum Code Examples
    Replies: 134
    Last Post: - 18th September 2022, 20:30
  2. Replies: 4
    Last Post: - 17th December 2009, 00:29
  3. Darrel's latest 16 bit averaging routine?
    By jellis00 in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 17th October 2009, 01:57
  4. PIC16F84A Tachometer LED routine
    By ThaSanta in forum mel PIC BASIC Pro
    Replies: 20
    Last Post: - 24th July 2009, 02:58
  5. Software Driven Reset Routine
    By Tissy in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 11th April 2005, 00:53

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