

In file included from C:\Users\abasa\Dropbox\JPDuino\New Board for Bike Oct-2017\V11_CF_TP_V12_12\V11_CF_TP_V12_12.ino:516:0:Ĭ:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\i2c_t3/i2c_t3.h:991:15: error: conflicting declaration 'i2c_t3 Wire' Can someone help me get out of this endless loop? I suspect I may have multiple libraries conflicting now - but this is bogging me down. I have a GPS and other devices (Silabs chip for example) - thus the code is quite complex. Wire.h to Wire_Old.h - but the problem gets worse. I have tried to follow some of the threads were I rename the \Arduino\.

After deciding to migrate to 1.8.13 - when I got a new computer in my first compile I had multiple issues - mostly surrounding multiple definitions of wire.h and conflicting Two_wire. When I let D4 “float”, the LED turned on.I am using a Teensy 3.6 and had not migrated from the Arduino 1.8.3 version as I had the code working. When I grounded D4 on the Spark, the LED went out. On the arduino side, I used this code: #include īecause I used a 3.3V Arduino pro mini, I put an LED to ground via a resistor on digital pin 3. Also, note I removed the boolean on the last_state and made it an INT since that’s what digitalRead returns. The original code was looking for a change in the button and would xmit that change to the slave. The button “bebounce” that BDub suggested was great but that is not what was needed. First, as per timb, I made the Spark the master with this code: #include "application.h" Here’s the code I’m running on the Core: #define LED D7Īny help would be greatly appreciated, thanks in advance.Įverything is working! However, there are a couple of things I had to fix. I have the code working between 2 Unos but not to the Core. The intension was to use this sketch to confirm I have the I2C communication working before using it in “real” applications. I have connections between D0 -> A4 and D1 -> A5, both with 4k7 pull-up resistors, GND -> GND and +5 -> Vin.įor now I’m just trying to press a switch on one board and have the on-board LED light on the other.

I’m having some issues communicating between a Spark Core and an Arduino Uno via I2C.
