chipKIT® Development Platform

Inspired by Arduino™

ChipkItCan not Compatibel with Onewire

Created Sun, 16 Dec 2012 09:32:40 +0000 by herve


herve

Sun, 16 Dec 2012 09:32:40 +0000

ChipkItCan header not Compatibel with Onewire header. I use arduino Max32 and MPIDE.

I just spate #include <OneWire.h> #include <WProgram.h>

#include "chipKITCAN.h"

in MPIDE and I have

Error: mpide\libraries\chipKITCAN/chipKITCAN.h:85:2: error: expected identifier before numeric constant.

mpide\libraries\chipKITCAN/chipKITCAN.h:85:2: error: expected '}' before numeric constant......


helpme

Sun, 16 Dec 2012 19:05:12 +0000

Not that this is intended as an answer to your issue, but when I included plib.h after OneWire.h I got the same error messages, when I include plib.h first the errors went away. Although, my errors came out of GernericTypeDefs.h, with a plethora of other errors.

Header files should be abled to be included in any order in a user program, oh well...

Fred


herve

Tue, 18 Dec 2012 22:38:48 +0000

thank fred, but my problem is not always solved.

Please Someone can help me?

Thanks

Hervé