With Instructables you can share what you make with the world, and tap into an ever-growing community of creative experts.
Tell us about yourself!
Tools & Supplies
Mold Making & Casting Class
This approach is not advisable. The callback has only set before execution, not always while running 'loop()'.
Sounds like a memory issue. Look at your memory consumption.The sketch is very tight, for an original Arduino with 2k.Or a hardware issue. The splash screen is left before loop () starts.Evaluate this line: It depends on your hardware: display.begin(SSD1306_SWITCHCAPVCC, 0x3C); // initialize with the I2C addr 0x3D (for the 128x64)
Pin 8 and 9 for SoftwareSerial are used only on boards with enough memory provided.The example code does not show it. There you have to use the pins for serial directly. It is in the comment:/* * Serial is occupied. It cannot be used for debugging here. * If you want to see the data on the screen of your computer, * please use the version without OLED....*/It is a memory issue, because The OLED's display memory is in the RAM.Please observe the outcome of your IDE. There you got a message about memory consumption of your board, hence whether or not you might want to use SoftwareSerial.
This is a standalone application.
Simple Arduino GPS with OLEDView Instructable »
Loetinator - Electronic Soldering Helper
Intel Galileo Weather-Station
Getting a Spark Core running without using Spark's app
Spark Core Pushup Counter
SparkTwister: A Wearable Game Using the Spark.io Spark Core
RGB with SparkCore and curl
Join 2 million + to receive instant DIY inspiration in your inbox.
© 2016 Autodesk, Inc.