Search Results - MEL PICBASIC Forum


Search:

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

Search: Search took 0.00 seconds.

  1. Replies
    31
    Views
    49,700

    Re: Multi-Button CSM with Pic16LF722A

    Sorry for the repeated post.
  2. Replies
    31
    Views
    49,700

    Re: Multi-Button CSM with Pic16LF722A

    Hello,

    Regarding the flicker, you know this and I know this, however, we are trying to match an existing product that is set at 25khz. It appears at lower frequencies
    it is causing their power...
  3. Replies
    31
    Views
    49,700

    Re: Multi-Button CSM with Pic16LF722A

    Hello again!

    Just curious as to why there isn't any reference to the PR2 register in the program, for setting up the PWM? If I wanted to increase the pwm frequency to 25Khz, I take it I would...
  4. Replies
    31
    Views
    49,700

    Re: Multi-Button CSM with Pic16LF722A

    Hello again,

    Was that timestamp of 3:12 as in 3:12AM?! I did the modification as above. It works like you explained. It doesn't cycle now, but the 5-second delay is way too long to be able to...
  5. Replies
    31
    Views
    49,700

    Re: Multi-Button CSM with Pic16LF722A

    Wow, you are awesome. I'll have to try it out to see what it does. Thanks!
  6. Replies
    31
    Views
    49,700

    Re: Multi-Button CSM with Pic16LF722A

    Hi,

    Yes, sorry, I guess single-shot wouldn't be a good description. I do mean a toggle , but without any auto-repeat function, as my earlier version had been.
    I meant finite STATE machine. ...
  7. Replies
    31
    Views
    49,700

    Re: Multi-Button CSM with Pic16LF722A

    Hello,

    Well after changing some pause timing and sharing it before and after the indicator LED routine, It seems to be working pretty good now. However, I still need to be able to use the 1/0...
  8. Replies
    31
    Views
    49,700

    Re: Multi-Button CSM with Pic16LF722A

    Hello,

    Wow, I can't believe how fast you can do this stuff. I tried to compile the code above, but I keep getting an [ASM WARNING] Argument out of range. Least significant bits used. (0) : ...
  9. Replies
    31
    Views
    49,700

    Re: Multi-Button CSM with Pic16LF722A

    Hello again,

    Okay I got the buttons to work as i wished, and I changed to 4 pwm levels. However, I have added code to indicate which of the 4 levels I am currently at.
    There is a "pause 300"...
  10. Replies
    31
    Views
    49,700

    Re: Multi-Button CSM with Pic16LF722A

    Hi,

    Thanks for the info. Right now I am using 16000 as a threshold, and it seems to be working well. I have a pickit2, maybe I'll try that. I also have a usb to serial in both 3v and 5v...
  11. Replies
    31
    Views
    49,700

    Re: Multi-Button CSM with Pic16LF722A

    Hello again!

    If I want to change the order of the keys so that key0 = 1/0 (RB2), key1 = down(RB1), and key2 = up(RB0) do I need to un-remark the
    ;key0=portb.0=ch0, key1=portb.1=ch1,...
  12. Replies
    31
    Views
    49,700

    Re: Multi-Button CSM with Pic16LF722A

    Wow! Thanks alot for all of that great info, much appreciated. Gives me something to learn from, too. I'm kind of new to this, so I haven't gotten that advanced, yet. First time I've had to use...
  13. Re: my project Capacitive Sensing LED dimmer 12F1822 via PWM

    Hello,
    Another one...in your example (PIC12F1822) with the LATA and LATA.0 references, is there a way that I can implement the same function, still using the PIC16F722A device, uisng the B port...
  14. Replies
    31
    Views
    49,700

    Multi-Button CSM with Pic16LF722A

    Hi!
    Well, I started a new thread, as not to confuse it with another previously posted thread concerning a PIC12F1822 and CSM application.

    I have an application that I want to use 3 capacitive...
  15. Re: my project Capacitive Sensing LED dimmer 12F1822 via PWM

    Hi again,

    It does appear to be simpler when you know what you are doing! What is happening in the ccp1con=12|((PW&3)<<4) statement? Thanks again.
  16. Re: my project Capacitive Sensing LED dimmer 12F1822 via PWM

    Hello again.

    What is happening with CPSCON1 =CPSCON1 ^ 1? Is the THRESH a fixed value predetermined? Just wondering where the THRESH CON 4000 comes from. Thanks.
  17. Re: my project Capacitive Sensing LED dimmer 12F1822 via PWM

    Okay. But if the timer0 source works for Heckler, why won't it work in mine? Everything seems to be working okay, except that I want it to be a single-shot occurrence on the 1/0 button, rather than...
  18. Re: my project Capacitive Sensing LED dimmer 12F1822 via PWM

    Hello!

    Here's my code (with the help of others on here) that I inadvertently posted in the context of the thread:
    '****************************************************************
    '* Notes :...
  19. Re: my project Capacitive Sensing LED dimmer 12F1822 via PWM

    Thanks for the info!
  20. Re: my project Capacitive Sensing LED dimmer 12F1822 via PWM

    Hello again,
    I'm still not seeing anywhere in the datasheet or device files a reference to the T1GATE_INT. I see a timer1 gate function, is this what you mean? Sorry about the listing in the...
  21. Re: my project Capacitive Sensing LED dimmer 12F1822 via PWM

    LoL! Double negatives always get me. I got up from the computer when I was replying earlier. Sorry. Also, it isn't the PIC18F22, it is the PIC16LF722A. I think I dragged some info from the...
  22. Re: my project Capacitive Sensing LED dimmer 12F1822 via PWM

    Thanks for the info! Unfortunately it doesn't appear that my chip doesn't have the T1GATE_INT.
  23. Re: my project Capacitive Sensing LED dimmer 12F1822 via PWM

    Hello again,
    I got rid of my problems with the touch reliability by greatly reducing the pause times in the main part of the program. However, I would like the 1/0 button to be a latch function and...
  24. Re: my project Capacitive Sensing LED dimmer 12F1822 via PWM

    Hello!
    I'm new here, but I like your capacitive touch program example. The only difference I would like to be able to do is have 3 touch pads, one for brightness up, brightness down, and one for...
Results 1 to 24 of 24