Created Tue, 27 Mar 2012 10:52:29 +0000 by scoprire
Tue, 27 Mar 2012 10:52:29 +0000
if i use this library this is the error that i have [color=#BF0000]In file included from /Users/Alessandro/Documents/mpide/libraries/I2Cmaster/i2cmaster.h:88:0, from MLX90614.cpp:1: /Applications/UniversitaÃÄ/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/avr/io.h:4:2: error: #error ******** This sketch or library uses AVR-specific code that may not work with the chipKIT platform. See this forum for more information on porting code to chipKIT [www.chipkit.org/forum/viewforum.php?f=7] ********[/color]
what is the i2c library for chipkit?
Thu, 29 Mar 2012 21:51:57 +0000
Hello,
It is the Wire library. Found in MPIDE\hardware\pic32\libraries\Wire
Best Regards, Ryan K
Wed, 04 Apr 2012 23:29:06 +0000
The problem will be that the MLX90614 requires a "re-start" bit sequence to be used and the standard Arduino twi/wired i2c library does not support this - hence the need for custom code. As the MPIDE Max32 is based on and trying to match Arduino I expect that a new version of library would also be required to get the MLX90614 to work here too.
Wed, 17 Apr 2013 16:13:46 +0000
I have the same problem. Have you solved it? Adriano