Search found 119 matches

by firatkocak
04 Feb 2009 11:02
Forum: mikroC General
Topic: interaction between define and global variable
Replies: 1
Views: 1104

Hi,

Your actual code is

Code: Select all

loop forever{
   display( 2*tmp  );
   tmp++;
} 
So, increasing the variable tmp will cause the function display to display the updated value. There is nothing complicated to understand.

Firat,
by firatkocak
02 Feb 2009 19:31
Forum: mikroC Wish List
Topic: Port Expander Library
Replies: 2
Views: 3175

Hi,

I found a trick. In the first initializing, call standart Expander Init function, In the second and later, call standart Init function but use an unused pin for reset purpose in the function call. This will solve the problem.

Best regards,

FIRAT KOCAK
by firatkocak
02 Feb 2009 09:25
Forum: mikroC Wish List
Topic: Port Expander Library
Replies: 2
Views: 3175

Port Expander Library

Hi, While using Port Expander library, what i noticed, if there is more than one expander ic on your board and you try to switch one to the other, you have to use the Init function and this function resets the ic which causes the ic has its default startup parameters. so, if you initialized an ic as...
by firatkocak
15 Jan 2009 22:06
Forum: mikroC General
Topic: A digital potentiometer with GLCD question
Replies: 7
Views: 3077

Hi,

Thanks for tge recommendation. But i need something allowing -15V, because GLCD VOUT voltage is -15V and GLCD Working voltage is -11V.

firat,
by firatkocak
15 Jan 2009 14:34
Forum: mikroC General
Topic: A digital potentiometer with GLCD question
Replies: 7
Views: 3077

hi,

yes, i soldered it and yes again, i may change my design unless the change is so much complex. Current board is testing purpose. After everything is ok then i will send the new one for production

firat,
by firatkocak
15 Jan 2009 13:56
Forum: mikroC General
Topic: A digital potentiometer with GLCD question
Replies: 7
Views: 3077

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,
by firatkocak
15 Jan 2009 11:44
Forum: mikroC General
Topic: A digital potentiometer with GLCD question
Replies: 7
Views: 3077

Hi Dronology,

Thanks for the answer. I have thought about it and have had a look at the datasheet but could not see any info. But i will check it again in case i missed a few lines.

Firat,
by firatkocak
14 Jan 2009 22:56
Forum: mikroC General
Topic: SPI pic18f4431
Replies: 2
Views: 1736

Hi,

Are you sure that your code is written in MikroC ? If you want to get a proper answer then you should port your code into MikroC. So we can then test it, if needed.

firat
by firatkocak
14 Jan 2009 10:56
Forum: mikroC General
Topic: A digital potentiometer with GLCD question
Replies: 7
Views: 3077

A digital potentiometer with GLCD question

Hi friends, My project board contains a digital potentiometer, ISL22326 , which has two potentiometer in it. One is used for the GLCD backlight and the other is for contrast control. Potentiometers have control pins left open. For Backlight control, one pin is connected to the 5V and the other one i...
by firatkocak
13 Jan 2009 08:41
Forum: mikroC General
Topic: what is the best way of ...
Replies: 4
Views: 2455

hie friends, Thanks for the answers. As much as i understood that the safety way is, 1. Read each ic data sheet, find maximum power consumption values. 2. Add some margin to the total value A have a 0-30V , 0-5A power supply to feed the board, but it is an analog type and its display does not help t...
by firatkocak
12 Jan 2009 22:34
Forum: mikroC General
Topic: what is the best way of ...
Replies: 4
Views: 2455

what is the best way of ...

Hi friends, I have a project board. Hardware is done and currently finishing the software part. I have a 5V regulator which has low drop-out and outputs 1.5A at the rated voltage. In normal circumstance, regulator does not get hot and works well. But, my current test environment is not full loaded a...
by firatkocak
28 Dec 2008 16:58
Forum: mikroC General
Topic: Bad bit number - error
Replies: 9
Views: 3537

Hi, I tested your code with a Pic18F8722 board. The error messages that i received were "const not found". Step by step, by uncommenting down your code, i tried to find where the problem is. Anyway, at last, i found the error and compiled your code with success. Here is the error in your code; Your ...
by firatkocak
27 Dec 2008 09:53
Forum: mikroC General
Topic: Bad bit number - error
Replies: 9
Views: 3537

Hi, If you send me your whole code, as removed all commended lines, then i will remove mcu specific lines and run your code. According to the error messages i will get , i will figure out where the problem is. Do not post the whole code here. I will make mu e-mail address is visible, if it not alrea...
by firatkocak
25 Dec 2008 16:13
Forum: mikroC General
Topic: Bad bit number - error
Replies: 9
Views: 3537

Hi, As much as i know, there is no any limitation in MikroC for code line count. The only limitation is the size of your code which depends on the licence that you currently have. I read a few message from people that complain the strange behaviour of their compilers, even they have a valid licence....
by firatkocak
24 Dec 2008 18:38
Forum: mikroC General
Topic: Debugging problem with PIC18F2410 using internal clock
Replies: 9
Views: 2904

hmmm. i think i missed .my mistake. sorry for this

firat

Go to advanced search