I can reproduce the error. I always use the case sensitive option, so it worked before.
Peter
Search found 27 matches
- 18 Apr 2018 07:36
- Forum: mikroC PRO for PIC General
- Topic: How to loose working time, when using MikroC
- Replies: 8
- Views: 2565
- 16 Apr 2018 21:02
- Forum: mikroC PRO for PIC General
- Topic: How to loose working time, when using MikroC
- Replies: 8
- Views: 2565
Re: How to loose working time, when using MikroC
I can't make the error, *p works for me.
Do you have a sample project?
The line number of the error message is sometimes wrong, a zero is missing at the end, e.g. 47 is then 470.
Peter
Do you have a sample project?
The line number of the error message is sometimes wrong, a zero is missing at the end, e.g. 47 is then 470.
Peter
- 16 Apr 2018 10:08
- Forum: mikroC PRO for PIC General
- Topic: How to loose working time, when using MikroC
- Replies: 8
- Views: 2565
Re: How to loose working time, when using MikroC
#define works like find and replace, similar to a macro. This does not define a variable or constant.
Your *Source will change to *"Mini_DDS_12F1840".
I'm not quite sure, though.
Peter
Your *Source will change to *"Mini_DDS_12F1840".
I'm not quite sure, though.
Peter
- 16 Apr 2018 07:36
- Forum: mikroC PRO for PIC General
- Topic: How to loose working time, when using MikroC
- Replies: 8
- Views: 2565
Re: How to loose working time, when using MikroC
You already have an define in your code:
#define Source "Mini_DDS_12F1840"
That's the mistake.
Peter
#define Source "Mini_DDS_12F1840"
That's the mistake.
Peter
- 25 Dec 2017 20:21
- Forum: mikroC PRO for PIC General
- Topic: [Solved] Directions to implement USB comm with 18F2550
- Replies: 8
- Views: 2751
Re: Directions to implement USB comm with 18F2550
The PIC18 models do not have a Host USB. The PIC24 models or higher have an OTG or Host USB, so it could be possible.
- 15 Nov 2017 21:21
- Forum: mikroC PRO for PIC Wish List
- Topic: Browse the code in the background for code completition
- Replies: 4
- Views: 2757
Re: Browse the code in the background for code completition
Hello Lana,
thanks for the test, but I know my PC is too slow. I'm sure the project will work for you without any problems.
Peter
thanks for the test, but I know my PC is too slow. I'm sure the project will work for you without any problems.
Peter
- 14 Nov 2017 19:20
- Forum: mikroC PRO for PIC Wish List
- Topic: Browse the code in the background for code completition
- Replies: 4
- Views: 2757
Re: Browse the code in the background for code completition
Hello Lana,
the project consists of 15 .c- and 19 .h-files with 14,000 lines of code. The PIC18F4550 is only half full. The PC uses an Intel J1900 CPU with 1.3 GHz.
Peter
the project consists of 15 .c- and 19 .h-files with 14,000 lines of code. The PIC18F4550 is only half full. The PC uses an Intel J1900 CPU with 1.3 GHz.
Peter
- 12 Nov 2017 10:06
- Forum: mikroC PRO for PIC Wish List
- Topic: Browse the code in the background for code completition
- Replies: 4
- Views: 2757
Browse the code in the background for code completition
mikroC PRO for PIC v7.1.0 The IDE scans the code in the background while editing for code completition and displaying it in routine list, etc. I would like to have an option to do this only when saving a file. With slow PCs you can't work with the IDE anymore, the CPU goes to 100% while editing and ...
- 02 Nov 2017 16:27
- Forum: PIC32 PRO Compilers
- Topic: Redefinition variable in header file \
- Replies: 7
- Views: 6083
Re: Redefinition variable in header file \
The header file contains the declaration.
The variable is defined at one place, but declares it wherever you use it.
Refer to the help file under "extern".
The variable is defined at one place, but declares it wherever you use it.
Refer to the help file under "extern".
- 02 Nov 2017 14:25
- Forum: PIC32 PRO Compilers
- Topic: Redefinition variable in header file \
- Replies: 7
- Views: 6083
Re: Redefinition variable in header file \
I think you're missing the definition of the variable.
main.c
main.c
Code: Select all
#include "NewUnit_0.h"
float pippo=32;
void main() {
int i=0;
pippo=0;
}
- 01 Nov 2017 16:06
- Forum: mikroC PRO for PIC General
- Topic: whats wrong in below code? how to define hexadecimal array?
- Replies: 4
- Views: 2043
Re: whats wrong in below code? how to define hexadecimal arr
Code: Select all
long R[120] = {0x002410, ...
- 29 Jun 2016 18:25
- Forum: mikroC PRO for PIC32 General
- Topic: "struct" tag redefined and struct identifier redefined
- Replies: 2
- Views: 4776
Re: "struct" tag redefined and struct identifier redefined
Now the header file 'Struct_Def.h' is read twice, and the structure is defined by twice. I think you should not include a '*.c' file. Add the file to your project, it is then compiled. You can also prevent a header file is repeatedly included. Include '#ifndef...' at the beginning and end of a file....
- 27 Jun 2016 17:46
- Forum: mikroProg™ programmer and debugger
- Topic: VPP voltage error....
- Replies: 9
- Views: 6860
Re: VPP voltage error....
I have tested with the PICflash2 programmer and PIC-Ready1 board.
A PIC16F887 and PIC18F4685 can be programmed without error.
Maybe it's a pin contact issue?
Peter
A PIC16F887 and PIC18F4685 can be programmed without error.
Maybe it's a pin contact issue?
Peter
- 27 Jun 2016 15:58
- Forum: mikroProg™ programmer and debugger
- Topic: VPP voltage error....
- Replies: 9
- Views: 6860
Re: VPP voltage error....
Yes, this jumper J1 I meant. Here is the quote from the manual: If the target board has its own 5V power supply, it can be also used for powering the PICflash programmer. In that case, it is necessary to open PICflash programmer plastic case and take off the jumper for power supply selection. On the...
- 27 Jun 2016 13:36
- Forum: mikroC PRO for PIC32 General
- Topic: accessing structure members in mikroC Pro for PIC32
- Replies: 3
- Views: 4649
Re: accessing structure members in mikroC Pro for PIC32
If you want to initialize the structure, you can not use the member name.
(But I have only the PIC compiler, not PIC32.)
Peter
(But I have only the PIC compiler, not PIC32.)
Peter
Code: Select all
Dot m1 = {
9, // x
0 // y
};