Search Results - MEL PICBASIC Forum


Search:

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

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    35
    Views
    19,167

    Re: pulsin again!anyone plz help!

    my final code it is toggling on button 6 of your sony remote.n the good thing is no interrupts or timers simple code





    @ DEVICE pic16F877a, WDT_OFF ' Watchdog Timer
    @ DEVICE pic16F877a,...
  2. Replies
    35
    Views
    19,167

    Re: pulsin again!anyone plz help!

    @cncmachineguy thanx a lot for pointing me the problem.i ve been a fool n i admit... :( the toggle function works fine... thanx v much again:D your approach has been dead on...g8 advice for...
  3. Replies
    35
    Views
    19,167

    Re: pulsin again!anyone plz help!

    thanks for reply everyone..
    @demon and mackaraket guys the above code is working there is nth wrong with it.i just want to add an additional functionality of on/off...

    @cncmachineguy i didnt...
  4. Replies
    35
    Views
    19,167

    Re: pulsin again!anyone plz help!

    np.you had me thinking there for a moment :)
    but my problem is the same just a pulse spike of 5 volts on button press i want to keep it permantently off or on when io press the button only...
  5. Replies
    35
    Views
    19,167

    Re: pulsin again!anyone plz help!

    so u r saying that i should and it with 65???
    BTW it works with less than 9....
  6. Replies
    35
    Views
    19,167

    Re: pulsin again!anyone plz help!

    here you go:





    '****************************************************************
    '* Name : UNTITLED.BAS *
    '* Author : [select VIEW...EDITOR...
  7. Replies
    35
    Views
    19,167

    Re: pulsin again!anyone plz help!

    @ cncmachineguy
    sir it doesnt work because
    the led is high only when IRbutton is detected.... i want to keep it on forever ntil the next command without pressing the button...... is there any way??...
  8. Replies
    35
    Views
    19,167

    Re: pulsin again!anyone plz help!

    ok i have another question.my code is working the below one.
    as i am very new to pic basic pro i just have one more question and i know that it is a piece of cake for u guys. ok in my code the...
  9. Replies
    35
    Views
    19,167

    Re: pulsin again!anyone plz help!

    oh right thanks let me try it out!
  10. Replies
    35
    Views
    19,167

    Re: pulsin again!anyone plz help!

    sir how can i output the value of a button?? im using a sony tv remote...
    so i guess no way to output the value....
  11. Replies
    35
    Views
    19,167

    Re: pulsin again!anyone plz help!

    'include "ALLDIGITAL.pbp"
    @ DEVICE pic16F877a, WDT_OFF ' Watchdog Timer
    @ DEVICE pic16F877a, PWRT_OFF ' Power-On Timer
    @ DEVICE pic16F877a, BOD_OFF ' Brown-Out Detect

    @ DEVICE pic16F877a,...
  12. Replies
    35
    Views
    19,167

    Re: pulsin again!anyone plz help!

    thanku archangel sir for replying.

    now the basic purpose of my project is to turn a relay on or off using sirc(sony protocol).

    for this i need to decode just two keys:one for on and one for...
  13. Replies
    35
    Views
    19,167

    Re: pulsin again!anyone plz help!

    sir i dont think that there would be any point of turning adc off.because i am using portb for input and it is not an analog port in pic 16f877a.in this pic only porta is the analog one!!!
  14. Replies
    35
    Views
    19,167

    Re: pulsin again!anyone plz help!

    oh yes the header should be
    header<1000
    n header >1350

    but i have tried wid this..
    its still not working.....
  15. Replies
    35
    Views
    19,167

    Re: pulsin again!anyone plz help!

    sorry its a 2400 microsecond header so divide by 2 microsecond get 1200!!!!
  16. Replies
    35
    Views
    19,167

    Re: pulsin again!anyone plz help!

    1200!!!!
    as im using 20mhz crystal which has a resolution of 2microseconds.
    and the sony header is of 2400milliseconds so you get 1200 milliseconds...
  17. Replies
    5
    Views
    4,650

    Re: ir decode using pulsin help needed!!!

    ok thanks a lot:)
  18. Replies
    35
    Views
    19,167

    pulsin again!anyone plz help!

    :mad: here is my code:


    '****************************************************************
    '* Name : UNTITLED.BAS *
    '* Author : [select VIEW...EDITOR...
  19. Replies
    5
    Views
    4,650

    Re: ir decode using pulsin help needed!!!

    sir i have gone through the link which you have given. but i cant seem to find the command for which to turn the ADC off. plz help in this regard.im using picbasic pro.
    n secondly
    if i take my...
  20. Replies
    4
    Views
    4,340

    Re: hex file problem

    ok.got it.thanks a lot sir! :)
  21. Replies
    4
    Views
    4,340

    Solved

    thanks a lot sir.you saved my day.n i just wana ask one more think.it is that i am using PULSIN function.so for that particular function do i have to add any configuration fuses or not???
  22. Replies
    4
    Views
    4,340

    hex file problem

    i have a very strange and one can say an ironic problem.


    i have this simple code of checking led high:
    '****************************************************************
    '* Name :...
  23. Replies
    5
    Views
    4,650

    ir decode using pulsin help needed!!!

    here is my code:


    '****************************************************************
    '* Name : UNTITLED.BAS *
    '* Author : [select VIEW...EDITOR...
  24. Replies
    8
    Views
    9,212

    Re: problem with ir code.using pulsin

    ok thanks everyone.4 pointing me in the right direction!
  25. Replies
    8
    Views
    9,212

    Re: problem with ir code.using pulsin

    archangel sir i checked.there is no problem with the declarations.in this compiler one can declare the variables both ways.may be something wrong with the logic....


    IF P_VAL>=600 THEN...
Results 1 to 25 of 30
Page 1 of 2 1 2