Push button on PIC16F887


Closed Thread
Results 1 to 22 of 22

Hybrid View

  1. #1
    Join Date
    Jun 2008
    Posts
    84


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by skimask View Post
    Put your source file to where the path to that source file doesn't exceed 62 characters.
    What?
    Is this english ?

  2. #2
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by skimask View Post
    Google?


    Put your source file to where the path to that source file doesn't exceed 62 characters.
    Quote Originally Posted by menta View Post
    What?
    Is this english ?
    Yes...

    Put your source file (the file which is your source file, the file you are writing to be compiled/assembled and programmed)

    to where the path to that source file (the path being the complete expression of the file itself, for example C:\My Documents\PIC_Source_Code\My_Test_File.PBP)

    doesn't exceed 62 characters (the count of the characters in that complete source file path does not exceed 62. The count being less than 62, a number of lesser significance when compared to 62, an amount when compared to 62 comes up short with respect to aforementioned quantity).

    I don't know...
    Is it english?

    Let me try something:
    Сложете източник файл, където пътят към този източник на файла не надвишава 62 символа
    إسلام أون لاين ملف المصدر الى ان الطريق الى ملف المصدر ان لا تتجاوز 62 حرفا
    Put vašeg source file u kojem je put do tog izvora datoteke ne prelazi 62 znakova
    Dejte zdrojový soubor, kde se cesta k souboru, že zdroj není vyšší než 62 znaků
    Разместите исходный файл, где путь, что исходный файл не превышает 62 символов

    Which one works for you?
    Last edited by skimask; - 22nd June 2008 at 01:08.

  3. #3
    Join Date
    Jun 2008
    Posts
    84


    Did you find this post helpful? Yes | No

    Default

    Well, It must be obvious to one who knows this,.
    Last edited by menta; - 22nd June 2008 at 01:19.

  4. #4
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by menta View Post
    Well, It must be obvious to one who knows this,.
    Maybe...but...
    Plugging those words "Source File Exceeds 62 characters" into the SEARCH up top yields answers.
    Amazing isn't it?

  5. #5
    Join Date
    Jun 2008
    Posts
    84


    Did you find this post helpful? Yes | No

    Default

    I tried search for "source file path exeeds 62 characters' which didn't return anything.
    I guess I should have search for less words.

  6. #6
    Join Date
    Jun 2008
    Posts
    84


    Did you find this post helpful? Yes | No

    Default

    I have managed to use the button as interrupt form this source:
    http://darreltaylor.com/DT_INTS-14/hello.html

    Is it possible also to get another interrupt for the same button while it is pressed for 2 seconds for example ?

  7. #7
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by menta View Post
    I have managed to use the button as interrupt form this source:
    http://darreltaylor.com/DT_INTS-14/hello.html

    Is it possible also to get another interrupt for the same button while it is pressed for 2 seconds for example ?
    IF a timer interrupts every 1/10 second, and you want to look for a button being pressed for 2 seconds, then I'd suggest looking at the button during every interrupt and add 1 to a counter. If the counter hits 20, the button is pressed for 2 seconds. If the button is let up when the counter is below 20, then reset the counter to zero.
    Simple enough...

  8. #8
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by menta View Post
    I tried search for "source file path exeeds 62 characters' which didn't return anything.
    I guess I should have search for less words.
    That's because exeeds is spelled wrong.

Similar Threads

  1. 3 HPWM channels
    By docwisdom in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 4th April 2006, 03:43
  2. Code check -- button not working
    By docwisdom in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 2nd March 2006, 23:43
  3. Button Push within 3 second Window
    By Tissy in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 22nd December 2005, 11:06
  4. push button problem
    By ngeronikolos in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 2nd June 2005, 20:44
  5. Push Button 'Menu' to Choose Variable.
    By Tissy in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 10th March 2005, 08:00

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