Search found 106 matches

by dronology
01 Feb 2010 14:30
Forum: mikroC General
Topic: MikroC function code available to view?
Replies: 4
Views: 1998

by dronology
22 Dec 2009 11:33
Forum: mikroC General
Topic: pwm 10 bits
Replies: 2
Views: 1648

here is the 10bit PWM code that I wrote 2 years ago for 18F8722. You can find information about PWM flags at microchip datasheet of 18f8722 p184-p186. I think it is very easy to rewrite this code for 16F877 as you require.

check this thread:
http://www.mikroe.com/forum/viewtopic.php?t=17449
by dronology
22 Dec 2009 11:19
Forum: mikroC General
Topic: PWM 10 bits [library]
Replies: 7
Views: 8407

here is the 10bit PWM code that I wrote 2 years ago for 18F8722. You can find information about PWM flags at microchip datasheet of 18f8722 p184-p186. I think it is very easy to rewrite this code for 16F877 as you require. /******************************************************** * 10-bit PWM code f...
by dronology
22 Dec 2009 11:18
Forum: mikroC General
Topic: PWM Resolution
Replies: 5
Views: 3060

here is the 10bit PWM code that I wrote 2 years ago for 18F8722. You can find information about PWM flags at microchip datasheet of 18f8722 p184-p186. I think it is very easy to rewrite this code for 16F877 as you require. /******************************************************** * 10-bit PWM code f...
by dronology
30 Jul 2009 08:35
Forum: mikroC General
Topic: Understanding the MikroC RTC code, Please Help
Replies: 11
Views: 13510

The best way is writing your own code.
You are welcome.

Kind Regards
by dronology
27 Jul 2009 10:28
Forum: mikroC General
Topic: Understanding the MikroC RTC code, Please Help
Replies: 11
Views: 13510

This is my code but It seems that difinition of start function is missing. I've just rebuilded it. If you cannot understand something about this code you can send an e-mail which is written at the contact part of the code. This is an open source code, and we (open source coders) give our public e-ma...
by dronology
08 Jul 2009 13:25
Forum: mikroC General
Topic: Is this Bug or something wierd?
Replies: 2
Views: 1498

Thanks milutin.apostolovic,
Due to your link it seems the answer is "read-modify-write effect" which is written at this page:

http://www.microchip.com/wiki/Wiki.aspx?WikiID=50&


Kind Regards,
by dronology
08 Jul 2009 08:07
Forum: mikroC General
Topic: Is this Bug or something wierd?
Replies: 2
Views: 1498

Is this Bug or something wierd?

I'm using 18F8722, I came across a wierd situation. Code is a little huge; something about 57500 lines ASM (something 10000-12000line C) that is impossible to write it here. So I'm just including the main block where the problem existed and solved. Starting conditions: TRISH=0; // output PORTH.F6=0;...
by dronology
23 Feb 2009 21:44
Forum: mikroC for dsPIC30/33 and PIC24 General
Topic: a weird result - ROM total space of 6014A depending on code
Replies: 20
Views: 13798

Is there any progress about solving this problem?
by dronology
23 Jan 2009 10:44
Forum: mikroC General
Topic: LCD Library 4 bit - Need help!!!!!!!
Replies: 16
Views: 5723

try this one: void print_msg (int lcd_clear, int x, int y) { lcd_cmd(lcd_clear); lcd_out(x,y,"MSG"); } Put some leds to an empty port and make them on-off inside the function to see if the program counter inside the "function code" counts or halts? Such as; TRISA=0; PORT=A=0; void print_msg (int lcd...
by dronology
15 Jan 2009 14:20
Forum: mikroC General
Topic: A digital potentiometer with GLCD question
Replies: 7
Views: 3073

firatkocak wrote:Hi,

Yes, according to the datasheet, the voltage at a wiper pin should be 0 to 5V in reference to GND. So negative voltage causes the DCP does not work.

Firat,

did you set your circuit over protoboard or PCB? I mean, do you have a chance to change your design?
by dronology
15 Jan 2009 11:19
Forum: mikroC General
Topic: How to run two coding simultaneously
Replies: 5
Views: 2317

If these two devices must be run by the two dfiferent codes in real time, then the only solution there is the multi-core mcu. I am aware of just one readily available, the Propeller. This mcu is an eight core device, and is capable to operate each device separately. Good luck. Propeller is a very p...
by dronology
15 Jan 2009 10:38
Forum: mikroC General
Topic: A digital potentiometer with GLCD question
Replies: 7
Views: 3073

Dear Firat, Have you checked that if the ISL22326 is working in negative voltage ranges (Negative polarities may occure inadaptability)? It is a digital device and it may not work as physical device (pot.resistor). I haven't checked this device yet; I just guess due to my digital equipment experienc...
by dronology
15 Jan 2009 09:58
Forum: mikroC General
Topic: what is the best way of ...
Replies: 4
Views: 2453

I was suffering the same problem. As you know if the power requirements of your circuit is high, there could (probably will) occure voltage-drop (such as from 5 to 4.7, 4.6 etc.) This voltage-drop problem will effect accurate analog calculations. Once upon a time I was thinking of, "the easiest part...
by dronology
15 Jan 2009 09:36
Forum: mikroC General
Topic: SED1335 and RA8835
Replies: 28
Views: 22334

...I use two different models, one is for internals (like a car, or home) that is blue and white (but is not suitable outside), the other is black on a light green background, that is perfect for outside use because more sunlight you get, more contrast you see. (This is also a temperature compensat...

Go to advanced search