I’m working on a little project where I wanted to use my Adafruit I2C 16x2 RGB LCD (click here for product page) with one of Spark Cores.
I have a good bit of experience with Arduinos and programming but I’m not anywhere near being a master–if I make a simple mistake, you’ll have to forgive me.
I found a GitHub for the appropriate Adafruit library that was modified by pkourany to work with the Spark Core. You can find it here.
I loaded the Hello World.ino example found on the GitHub repository and I flashed it to the Core. The flash worked perfectly but now I am not getting to the Cloud. The core is breathing green. I hit the reset button, it breathes white for 2 cycles, blinks green quickly and then starts to breathe green rather than cyan.
It was breathing cyan correctly before I flashed and I haven’t had this problem before (though I’m not very good with Spark Cores and haven’t made a project work on them like I have with Arduinos).
I haven’t made any modifications to what is on the GitHub repository, so, I added the hyperlink rather than posting my code. The way I have it structured in the IDE is like this:
adafruit-i2crgblcd-spark.ino + Adafruit_MCP23017.cpp + Adafruit_MCP23017.h + Adafruit_RGBLCDShield.cpp + Adafruit_RGBLCDShield.h
I am also getting a significant amount of instability in the compiled program and it starts printing a scrolling jumbled mess after running for 5 minutes or so. I also can’t get the display to show unless I type “particle identify” in command shell on my computer (Spark Core is connected via USB). I’ll make another post regarding those issues. I want to keep this post in the realms of why it is breathing green.