What are the advantages / disadvantages of running the http://www.adafruit.com/products/938 in SPI or I2C modes?
I'm currently fooling around with that in SPI mode trying to display information coming from a http://learn.adafruit.com/adafruit-ultimate-gps. My first intuition was to simply lift some code from each example sketch, but as I've learned it's easy to rapidly run out of SRAM even when using F() to store some of the text in flash memory.
Would running the OLED in I2C mode help or hurt that effort?
Thanks,
quade
128x64 OLED - SPI or I2C?
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_mike
- Posts: 67454
- Joined: Thu Feb 11, 2010 2:51 pm
Re: 128x64 OLED - SPI or I2C?
Neither protocol will change the memory usage much. The main difference between SPI and I2C is that SPI can run faster but is a little more complicated and uses more pins, while I2C is simpler and only uses two pins, but is slower.
- quade
- Posts: 61
- Joined: Sat Dec 14, 2013 5:03 pm
Re: 128x64 OLED - SPI or I2C?
Thanks for the clarification and confirmation.
Happy New Year!
quade
Happy New Year!
quade
Please be positive and constructive with your questions and comments.