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!
Search found 41 matches
- 03 Apr 2015 03:02
- Forum: mikroC PRO for ARM General
- Topic: [HELP] Time to execute a function
- Replies: 2
- Views: 1429
- 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!
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!
- 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!
Here are the screenshots. Best regards!
- 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.
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.
- 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.
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.
- 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!
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!
- 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.
I will waiting for you. Thank you so much, all of you!
Best regards.
- 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.
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.
- 08 Jan 2015 02:05
- 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,
Can someone help me?
Best regards.
Can someone help me?
Best regards.
- 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) ...
- 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!
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!
- 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.
Best regards.
- 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...
- 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 ...
- 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.
Thank you for your reply. I will waiting for your feedback and improvements for mikroC in the future.
Best regards.