Page 1 of 1

Warning using Ciku

PostPosted: Mon Feb 16, 2015 12:54 am
by zxlee
Hi, I am having some warning message from MPLAB everytime i open it. The warning is related to CIKU project. How can i solve this problem? I have attached the image of warning from MPLAB IDE.

Also, I would like to know what are the variable types available as when I am using byte, the IDE shows unable to resolve identifier byte.

Thanks

Re: Warning using Ciku

PostPosted: Mon Feb 16, 2015 12:28 pm
by Idris
Hi zxlee,

That warning is due to the file path which contains spaces. For example C:\Program Files (x86)\Microchip\CIKU Library\CIKU.X/Arduino.h, there have space between Program Files (x86), CIKU Library. Nothing to worry about it, you still can compile and download without error.

For variable types, you can use
char, int, long.

If you want to use define variable types, you can open Arduino.h file, press ctrl and click on <GenericTypeDefs.h>. It will open GenericTypeDefs.h file and you can see several variable that already define, for example
UINT, UINT8, UINT16
BYTE, WORD, DWORD