Search found 7 matches
- 18 Oct 2023 15:07
- Forum: mikroC PRO for PIC General
- Topic: How does Button detect a press and debounce
- Replies: 1
- Views: 226
Re: How does Button detect a press and debounce
Per Micro tech support: 1. No interrupts are used to detect button voltage level, just monitoring the logic state 2. Debounce uses clock in Edit Project settings 3. Delay also uses Project clock - see __Lib_Delays library source file in the Uses subfolder. It uses Get_Fosc_kHz() function that uses P...
- 16 Oct 2023 23:50
- Forum: mikroC PRO for PIC General
- Topic: How does Button detect a press and debounce
- Replies: 1
- Views: 226
How does Button detect a press and debounce
Hi, I am using microC Pro. I have used library Button function in simper programs the past w/o issues. Now my program changes clock frequencies and enables/disables a bunch of interrupts. This affects ability to detect a Button press using library Button function. I have a general question. Does any...
- 05 Mar 2012 00:23
- Forum: Product Announcements
- Topic: PIC Compilers 5.40 Released!
- Replies: 46
- Views: 39284
Re: PIC Compilers 5.40 Released!
hello,
i own version 5.0 ans easypic 5board. Can i still download version 5.4 for free?
also, compiler question - does the MicroC compiler hide a need to manage pages (banks) in PIC?
thank you
i own version 5.0 ans easypic 5board. Can i still download version 5.4 for free?
also, compiler question - does the MicroC compiler hide a need to manage pages (banks) in PIC?
thank you
- 13 Dec 2011 01:44
- Forum: mikroC PRO for PIC General
- Topic: cannot get correct PWM frequency from PIC16F1934
- Replies: 3
- Views: 1982
Re: cannot get correct PWM frequency from PIC16F1934
Hello,vgershman wrote:Hi all,
I cannot setup PWM on PIC16F1934 to get 38KHZ square wave on pin RC2. I followed examples, but i get frequencies that are way off. Has anyone had issues with that? I am using microC ver 5.0
Thanks,
It was my bad. I did not set up OSCCON register. Now works like a great.
- 02 Dec 2011 05:51
- Forum: mikroC PRO for PIC General
- Topic: cannot get correct PWM frequency from PIC16F1934
- Replies: 3
- Views: 1982
cannot get correct PWM frequency from PIC16F1934
Hi all,
I cannot setup PWM on PIC16F1934 to get 38KHZ square wave on pin RC2. I followed examples, but i get frequencies that are way off. Has anyone had issues with that? I am using microC ver 5.0
Thanks,
I cannot setup PWM on PIC16F1934 to get 38KHZ square wave on pin RC2. I followed examples, but i get frequencies that are way off. Has anyone had issues with that? I am using microC ver 5.0
Thanks,
- 20 Nov 2008 02:59
- Forum: Development Boards
- Topic: easypic5 7-segment LED dis0 and dis1 are off
- Replies: 1
- Views: 1371
7-segment in easypic5
oops. never mind. "undocumented" feature: one has to disable pin 1 and 2 on dip switch SW9.
- 20 Nov 2008 02:38
- Forum: Development Boards
- Topic: easypic5 7-segment LED dis0 and dis1 are off
- Replies: 1
- Views: 1371
easypic5 7-segment LED dis0 and dis1 are off
hi,
i tried demo program for 7-segment display and digit 0 and digit 1 are always off. is it something with the LEDs or did i not turn something on?
thanks
i tried demo program for 7-segment display and digit 0 and digit 1 are always off. is it something with the LEDs or did i not turn something on?
thanks