Search found 183 matches

by steve42lawson
05 Mar 2024 01:16
Forum: mikroC PRO for dsPIC30/33 and PIC24 General
Topic: "Find in Files" NO Search Result, NO NOTHING; Vanishes
Replies: 3
Views: 440

Re: "Find in Files" NO Search Result, NO NOTHING; Vanishes

Version 7.1.0 And, yes, any project. It used to work, and I used it a lot. Now, nothing. I've resorted to using a different editor. Every now and then my fingers slip while typing on the keyboard, and either that puts the IDE into some weird mode -- like the time it got stuck in block-selection mode...
by steve42lawson
05 Feb 2024 12:52
Forum: PIC AI compilers
Topic: MikroC AI support for PI24?
Replies: 7
Views: 2324

Re: MikroC AI support for PI24?

Yeah, I know. That was my point. When searching for 24F support, I wondered if "dsPIC" still implied "24F" within the context of the topic of this post.
by steve42lawson
04 Feb 2024 21:12
Forum: mikroC PRO for dsPIC30/33 and PIC24 General
Topic: "Find in Files" NO Search Result, NO NOTHING; Vanishes
Replies: 3
Views: 440

"Find in Files" NO Search Result, NO NOTHING; Vanishes

Hi, My installation of mikroC Pro for dsPIC has developed a "Negative workflow" behavior. I open the "Find In Files" dialog, enter a "Text to find", and then I hit "OK". After that, NOTHING! The dialog vanishes. There is no sign of any search results, ANYWHERE. Not even an indication of "No search h...
by steve42lawson
27 Feb 2023 16:32
Forum: mikroC PRO for dsPIC30/33 and PIC24 General
Topic: "376 Integer const expected" error on passing "const unsigned int" function arg to Delay_ms()
Replies: 7
Views: 1129

Re: "376 Integer const expected" error on passing "const unsigned int" function arg to Delay_ms()

So, the real issue is with the documentation. Instead of "constant", it should say "literal constant" or merely "literal". The omission of that qualifier gave me the impression the Delay_ms() function was capable of more than it is, which was a time waster! One simple word would have saved me consid...
by steve42lawson
26 Feb 2023 21:42
Forum: mikroC PRO for dsPIC30/33 and PIC24 General
Topic: "376 Integer const expected" error on passing "const unsigned int" function arg to Delay_ms()
Replies: 7
Views: 1129

Re: "376 Integer const expected" error on passing "const unsigned int" function arg to Delay_ms()

You nailed it. My goal is to implement a "low-level" error indication as a back up for my higher level UART error handler. Errors are also displayed on an LCD on the "console". The idea is to have some form of error indication in the absence of access to the higher level indicators. And, I thought o...
by steve42lawson
26 Feb 2023 11:27
Forum: mikroC PRO for dsPIC30/33 and PIC24 General
Topic: "376 Integer const expected" error on passing "const unsigned int" function arg to Delay_ms()
Replies: 7
Views: 1129

Re: "376 Integer const expected" error on passing "const unsigned int" function arg to Delay_ms()

I did all of that -- as reported in my original post <see above>. And, yes, I know the difference between Delay_ms() and VDelay_ms() -- also indicated in my original post <see above>.
by steve42lawson
26 Feb 2023 06:50
Forum: mikroC PRO for dsPIC30/33 and PIC24 General
Topic: Problem with sprintf when convert float to a string
Replies: 2
Views: 483

Re: Problem with sprintf when convert float to a string

Try removing the 'L' from the format specification:

Code: Select all

sprintf(txt3,"%.2f",result);
The 'L' is only specified for integer types:
The optional characters l or L may immediately precede conversion_type to respectively specify long versions of the integer types d, i, u, o, x, and X.
by steve42lawson
25 Feb 2023 22:10
Forum: mikroC PRO for dsPIC30/33 and PIC24 General
Topic: "376 Integer const expected" error on passing "const unsigned int" function arg to Delay_ms()
Replies: 7
Views: 1129

"376 Integer const expected" error on passing "const unsigned int" function arg to Delay_ms()

The following code causes a "376 Integer const expected" compiler error message: // FYI I trimmed this code down to the essentials to showcase my issue. const unsigned int ERR__ALL_FUBAR = 15; sbit pin_o_error at LATA7_bit; void handle_error(const unsigned int); void main() { handle_error(ERR__ALL_F...
by steve42lawson
12 Oct 2022 16:45
Forum: IDE General
Topic: Mikroc to Necto Migration Guide?
Replies: 5
Views: 1012

Re: Mikroc to Necto Migration Guide?

Unofficial third reason: I don't know if my case is unique, but MikroC, both PIC and dsPIC, have crashed A LOT!! And, it seemed like you guys placed most of your focus on developing your "Click" products, rather than supporting the Mikro compilers. So, if I'm going to shell out $30 a month, I'd lik...
by steve42lawson
12 Oct 2022 16:41
Forum: IDE General
Topic: Mikroc to Necto Migration Guide?
Replies: 5
Views: 1012

Re: Mikroc to Necto Migration Guide?

Also, I hope it will tell me if certain [long requested] features are finally implemented, like the ability to code the configuration "fuses", the preservation of header file paths in a project, implementation of the inline keyword, addition of bit and sbit arrays, advanced compiler features like t...
by steve42lawson
26 Sep 2022 23:02
Forum: IDE General
Topic: Mikroc to Necto Migration Guide?
Replies: 5
Views: 1012

Mikroc to Necto Migration Guide?

I'm holding off on shelling out the $$$ for Necto for two reasons: 1) I want to see a Migration Guide for porting my large body of code from MikroC-PRO forPIC and dsPIC. I want to see how much effort it will take to port my code to the new environment. Also, I hope it will tell me if certain [long r...
by steve42lawson
01 Sep 2022 16:58
Forum: mikroC PRO for PIC General
Topic: Find in Files: Files mask
Replies: 1
Views: 2184

Re: Find in Files: Files mask

I guess this doesn't come up very often, but... I would also like an answer to this. I tried: *.c*.h ... NOPE! *.h,*.c ... NOPE! *.h;*.c ... NOPE! *.h|*.c ... NOPE! \*\.[hc] ... NOPE! \*\.(h|c) ... NOPE! *.[hc] ... NOPE! *.(h|c) ... NOPE! Why do I want this? Because if I use *.*, I get results from ...
by steve42lawson
07 Feb 2021 21:37
Forum: PIC AI compilers
Topic: MikroC AI support for PI24?
Replies: 7
Views: 2324

Re: MikroC AI support for PI24?

Yup! I saw that. And, none of that has to do with PIC24. So, what's up with that?

[Unless, the same arcane naming "dsPIC" refers to PIC24?!? I mean, am I supposed to assume dsPIC refers to "dsPIC/PIC24"?!]

My mother taught me to NEVER assume!
by steve42lawson
07 Feb 2021 05:37
Forum: PIC AI compilers
Topic: MikroC AI support for PI24?
Replies: 7
Views: 2324

MikroC AI support for PI24?

I apologize if this has already been covered -- my forum searches came up empty. Am I missing something? I currently own licenses for MikroC PRO for PIC and dsPIC, and I'm wondering about his new " AI " offering [what is that? Artificial Intelligence ?!?], but I paged through the Supported Devices a...
by steve42lawson
06 Nov 2020 15:46
Forum: mikroC PRO for dsPIC30/33 and PIC24 General
Topic: Register Field Union Defs "Backward Compatibility" why?
Replies: 3
Views: 1835

Re: Register Field Union Defs "Backward Compatibility" why?

Cool, thank you.

May I suggest that you add that to the documentation?

Go to advanced search