Search found 16 matches

by Ideacharge
24 Feb 2011 23:19
Forum: Website & Forums Wishlist
Topic: PWM program from mikroC PRO for PIC Help
Replies: 23
Views: 30297

Re: PWM program from mikroC PRO for PIC Help

Maybe could be a bad PIC configuration settings?
by Ideacharge
24 Feb 2011 23:01
Forum: Website & Forums Wishlist
Topic: PWM program from mikroC PRO for PIC Help
Replies: 23
Views: 30297

Re: PWM program from mikroC PRO for PIC Help

Shouldn't first go? TRISA = 255; and then PORTA = 255; Instead of: PORTA = 255; TRISA = 255; Heyy, maybe it is PWM1_Init ? Maybe it should be changed? I am using 4MHz external quartz crystal oscillator (XT). void PWM1_Init(const long freq); Initializes the PWM module with duty ratio 0. Parameter fre...
by Ideacharge
24 Feb 2011 21:41
Forum: Website & Forums Wishlist
Topic: PWM program from mikroC PRO for PIC Help
Replies: 23
Views: 30297

Re: PWM program from mikroC PRO for PIC Help

OK, that would be great.
by Ideacharge
24 Feb 2011 21:09
Forum: Website & Forums General Discussion
Topic: Button menu with mikroC PRO for PIC
Replies: 4
Views: 8830

Re: Button menu with mikroC PRO for PIC

Hello, thank you, I will try it.
by Ideacharge
24 Feb 2011 21:06
Forum: Website & Forums Wishlist
Topic: PWM program from mikroC PRO for PIC Help
Replies: 23
Views: 30297

Re: PWM program from mikroC PRO for PIC Help

How the program worked for you? What has been changing, when you each time pressed those buttons? Did the brightness increased very slow, or you need to press a button and wait for some time to increase brightness...?
by Ideacharge
24 Feb 2011 20:54
Forum: Website & Forums Wishlist
Topic: PWM program from mikroC PRO for PIC Help
Replies: 23
Views: 30297

Re: PWM program from mikroC PRO for PIC Help

So why the program isn't working? :|
by Ideacharge
24 Feb 2011 18:55
Forum: Website & Forums Wishlist
Topic: PWM program from mikroC PRO for PIC Help
Replies: 23
Views: 30297

Re: PWM program from mikroC PRO for PIC Help

What should do RA0-RA3 buttons? What should they change?

The program is Proteus 7 Professional, and it let to simulate a whole schematic, as it would be in reality :)
by Ideacharge
24 Feb 2011 18:00
Forum: Website & Forums Wishlist
Topic: PWM program from mikroC PRO for PIC Help
Replies: 23
Views: 30297

Re: PWM program from mikroC PRO for PIC Help

I tried many other circuits with 10k resistor, and everything worked..

What means if (RA0_bit) ?
What logic state should go to PIC, when button is pressed?

There is no voltage on output pins at all... :|
by Ideacharge
24 Feb 2011 13:16
Forum: Website & Forums Wishlist
Topic: PWM program from mikroC PRO for PIC Help
Replies: 23
Views: 30297

Re: PWM program from mikroC PRO for PIC Help

Hello, I am using PIC16F887 and this schematic:
by Ideacharge
24 Feb 2011 13:09
Forum: Website & Forums General Discussion
Topic: Button menu with mikroC PRO for PIC
Replies: 4
Views: 8830

Re: Button menu with mikroC PRO for PIC

Hello, how button presses should be counted? :?
by Ideacharge
20 Feb 2011 01:10
Forum: Website & Forums Wishlist
Topic: PWM program from mikroC PRO for PIC Help
Replies: 23
Views: 30297

PWM program from mikroC PRO for PIC Help

Hello, i am trying to use Your program example of PWM usage: unsigned short current_duty, old_duty, current_duty1, old_duty1; void InitMain() { ANSEL = 0; // Configure AN pins as digital ANSELH = 0; C1ON_bit = 0; // Disable comparators C2ON_bit = 0; PORTA = 255; TRISA = 255; // configure PORTA pins ...
by Ideacharge
19 Feb 2011 17:51
Forum: Website & Forums General Discussion
Topic: Button menu with mikroC PRO for PIC
Replies: 4
Views: 8830

Button menu with mikroC PRO for PIC

Hello, is there any way to make an LCD menu changes when using buttons?
How a program should look like, if I want, for example: when I press a button, an LCD writes a word, when I press THE SAME button again - an LCD writes another word. Thank you.
by Ideacharge
05 Jan 2011 17:21
Forum: Website & Forums General Discussion
Topic: Is this board under some kind of password-guess attack?
Replies: 3
Views: 2450

Re: Is this board under some kind of password-guess attack?

I had the same problem, and logged in only when changed a password from "Forgot the password...".

Why there is so many protections, like captha, post approval...?
by Ideacharge
05 Jan 2011 17:18
Forum: Website & Forums General Discussion
Topic: PIC16F887 PWM program from your book does not work
Replies: 2
Views: 4358

PIC16F887 PWM program from your book does not work

Hello, EXAMPLE 10 Module CCP1 as PWM signal generator program from http://www.mikroe.com/eng/chapters/view/12/appendix-b-examples/ simulated in Proteus and it does not work (no signal to LED), there is no change by pressing buttons. What am I missing, or just all of those programs are with 'secret' ...
by Ideacharge
27 Dec 2010 13:57
Forum: Website & Forums General Discussion
Topic: PIC16F887 oscillator problem
Replies: 2
Views: 3462

Re: PIC16F887 oscillator problem

Thank you, I really forgot about those general purpose registers. I changed them and now the program works as it should be :)

Go to advanced search