Search found 41 matches

by croket_2512
03 Apr 2015 03:02
Forum: mikroC PRO for ARM General
Topic: [HELP] Time to execute a function
Replies: 2
Views: 1429

[HELP] Time to execute a function

Hello,

In mikroC, what should I do to know how long does the MCU take to execute a function, one or some commands?

Thanks and best regards!
by croket_2512
31 Mar 2015 02:55
Forum: mikroC PRO for ARM General
Topic: [HELP] The compiler can't use code folding
Replies: 7
Views: 2873

Re: [HELP] The compiler can't use code folding

Hello,

I try to reinstall but can not solve it. I get the same problem on Windows 7 and 8.1. I take a video my screen. Here it is.

Best regards!
by croket_2512
21 Mar 2015 04:45
Forum: mikroC PRO for ARM General
Topic: [HELP] The compiler can't use code folding
Replies: 7
Views: 2873

Re: [HELP] The compiler can't use code folding

Hi,

Here are the screenshots. Best regards!
by croket_2512
19 Mar 2015 09:25
Forum: mikroC PRO for ARM General
Topic: [HELP] The compiler can't use code folding
Replies: 7
Views: 2873

Re: [HELP] The compiler can't use code folding

Hello,

Thanks for your respond. I attached my examples and ST's library.

Here is ST's library link download: http://www.mediafire.com/download/bo33d ... mikroC.rar

Thank you and best regards.
by croket_2512
18 Mar 2015 02:09
Forum: mikroC PRO for ARM General
Topic: [HELP] The compiler can't use code folding
Replies: 7
Views: 2873

[HELP] The compiler can't use code folding

Hello,

I checked Code Folding option in Editor Settings, but the compiler does not show the bracket in code. I use Windows 7 and Windows 8.1.The screen photo is below.

Please help me! Thank you!

Best regards.
by croket_2512
13 Mar 2015 04:39
Forum: mikroC PRO for ARM General
Topic: [HELP] Interrupt Context Saving
Replies: 1
Views: 1259

[HELP] Interrupt Context Saving

Hello,

Can anyone explain to me what interrupt context saving is? And when do we choose OFF or AUTO for this option?

Thank you and best regards!
by croket_2512
09 Jan 2015 17:30
Forum: mikroC PRO for 8051 General
Topic: [HELP]Does 8051 not support pointer as good as PIC?
Replies: 5
Views: 5003

Re: [HELP]Does 8051 not support pointer as good as PIC?

Hi,

I will waiting for you. Thank you so much, all of you! :)

Best regards.
by croket_2512
08 Jan 2015 16:56
Forum: mikroC PRO for 8051 General
Topic: [HELP]Does 8051 not support pointer as good as PIC?
Replies: 5
Views: 5003

Re: [HELP]Does 8051 not support pointer as good as PIC?

Hi,

You misunderstand my mind. I mean the code doesn't work on 8051, it works good on PIC. I keep in my mind, we all know config IO port for PIC, so I didn't write down here.

Best regards.
by croket_2512
06 Jan 2015 15:40
Forum: mikroC PRO for 8051 General
Topic: [HELP]Does 8051 not support pointer as good as PIC?
Replies: 5
Views: 5003

[HELP]Does 8051 not support pointer as good as PIC?

Hello, I have a simple program to test pointer variable for 8051 and PIC. This variable uses to pass an IO port into a function. Here it is: void Port_LED_0(unsigned char *); void Port_LED_1(unsigned char *); void Port_LED_0(unsigned char *port) { (*port) = 0; } void Port_LED_1(unsigned char *port) ...
by croket_2512
28 Dec 2014 16:34
Forum: mikroC PRO for 8051 General
Topic: Passing port to a function using pointer
Replies: 3
Views: 4328

Re: Passing port to a function using pointer

Hi,

How can I pass a bit of port into a function? I want write a function like this: Button(&P2, 0, 1) where 0 is pin number, 1 is active state. I want to check the state at pin, for example: button_state = Button(&P2, 0, 1).

Thank you!
by croket_2512
26 Dec 2014 02:27
Forum: mikroC PRO for ARM Wish List
Topic: [WISH]Preprocessor for mikro C for ARM
Replies: 3
Views: 3545

Re: [WISH]Preprocessor for mikro C for ARM

And you should include paste link capability from My Computer to Edit Search Path... It's easier and faster than select include and source folder from Browse for Folder.

Best regards.
by croket_2512
25 Dec 2014 03:13
Forum: mikroC PRO for 8051 General
Topic: Build error, Can't open header file. What am I missing?
Replies: 7
Views: 9647

Re: Build error, Can't open header file. What am I missing?

As I said, you needn't REG51.H, because mikroC for 8051 has already it, inside mikroC, you can't see it. If you use it, the compiler will show error Identifier redifinition. Next, you needn't write delay function, because mikroC also has it. They are: Delay_us(number), Delay_ms(number), Vdelay_ms(nu...
by croket_2512
24 Dec 2014 07:21
Forum: mikroC PRO for ARM Wish List
Topic: [WISH]Preprocessor for mikro C for ARM
Replies: 3
Views: 3545

[WISH]Preprocessor for mikro C for ARM

Hi, I hope mikro C for ARM will has Preprocessor Option in next version as below. http://wiki.robotmc.org/images/9/9a/Preprocessor.png It's useful when we combine mirkoC with CMSIS library of ST, we can define STM32F10X_MD without edit stm32f10x.h. This option avoid modifying this file each time we ...
by croket_2512
23 Dec 2014 10:59
Forum: mikroC PRO for ARM General
Topic: Two problems with decalre type of variable in mikroC for ARM
Replies: 13
Views: 8030

Re: Two problems with decalre type of variable in mikroC for

Hi,

Thank you for your reply. I will waiting for your feedback and improvements for mikroC in the future.

Best regards.

Go to advanced search