Someone knows how to use a 128x32 I2C OLED Display with Spark?
Looks like I2C need some library for ArDuino so can i use librarys with spark?
Someone knows how to use a 128x32 I2C OLED Display with Spark?
Looks like I2C need some library for ArDuino so can i use librarys with spark?
Checkout this thread!
Which 128x32 display do you have? Where did you get it?
I have the 128 x 64 and 128 x 32 OLED display from Adafruit but havenāt tried to use the library on the Spark Core yet, just trying to get the wifi to hold a signal first.
Adafruit has a Arduino Library for the 128x32 OLED that may or may not work without modification.
I waiting for my OLED from Adafruit: Monochrome 128x32 I2C OLED graphic display http://www.adafruit.com/products/931
I picked one of those up - they are super slick. Using them from the Spark would be nice.
I hope to get my on Monday (tomorrow) can update here if i got something to work have some ideas what to display.
If someone else has tips thanks to come with it.
And i forgot to thanks Dave for the link you send before in the thread hope to get it to work
A few other related threads:
and
RichardP, I posted the Adafruit SSD1306 OLED display library on my github some time ago. It will work with 128x32 and 128x64 displays:
Let me know if you need any help using it!
Does both SPI and I2C work?
Which is preferable?
That is just awesome.
My spark should arrive in mail today. Canāt wait to try it out.
Hi @peekay123 , thanks for your library. I am quite new to the Spark and have been trying to get the library to work but seem to have some problemsā¦
What I did:
At this stage I see a few errors. I am attaching a screenshot of what I can see. I hope you can help! One other quick question is that I am using an Adafruit 128x32 I2C OLED display so would I need to make any changes to the library code or remove any files/lines before use? As I think I saw that the filenames/code refer to 128x64 rather than 128x32?
Thanks again,
Rick
really strange!
Just tested in the Web IDE
This leads me to believe itās in your own codeā¦
In regards to your 128x32 vs. 128x64ā¦
I could be wrong, but you should have at the top of your file:
#include "Adafruit_SSD1306/Adafruit_SSD1306.h"
#define OLED_RESET D4
#undef SSD1306_128_64
#define SSD1306_128_32
Adafruit_SSD1306 display(OLED_RESET);
Which would switch the library to use the 128x32 displayā¦ it compiles fine, so I think youāre good with thatā¦
Might need to see your code before we can help with other compiler errorsā¦
Ok, sorry! Please ignore my problem above. I think it was some weirdness between copy/paste and the Web IDE and also the fact that I may have been including the library from the IDE as well as adding the files manuallyā¦
Anyway, I still donāt have the OLED working but I think I got past the previous issue
Ok, hooray! I managed to get the OLED working with the Spark! I really donāt know what was causing the issue but I just started again completely from scratch following the instructions from Callil in this thread : https://community.spark.io/t/adafruit-ssd1306-library-ported/3505/64
And now everything works! Hoorah!
Onto my next problem
Rick