-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ssd1306 support #3
base: master
Are you sure you want to change the base?
Conversation
adds examplef or ssd1306 oleds using adafruit gfx, ticker or ISR would crash , had to move to loop
example tested on esp8266 with i2c ssd1306 128x64 OLED |
I could not get it to run with a timer or isr solution so just removed it, if using a ticker it will need to use flags and not execute code in the ISR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some minor changes around some comments etc
Thanks for making this work! I'll try make similar changes to the ESP8266 matrix version
/******************************************************************* | ||
Tetris clock that fetches its time Using the EzTimeLibrary | ||
|
||
NOTE: THIS IS CURRENTLY CRASHING! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this is true anymore :)
|
||
For use with an ESP8266 | ||
* * | ||
Written by Brian Lough |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add your name here, you made this example, not me. Take that glorious credit :)
// Display Libraries - each one of these will need to be installed. | ||
// ---------------------------- | ||
#include <Adafruit_GFX.h> | ||
#include <Adafruit_SSD1306.h> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you link to the library on github and advice if it can be installed from the library manager
*******************************************************************/ | ||
|
||
// ---------------------------- | ||
// Standard Libraries - Already Installed if you have ESP32 set up |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change "ESP32" to "ESP8266"
drawIntro(6, 12); | ||
display.display(); | ||
delay(2000); | ||
tetris.setText("B. LOUGH"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Feel free to change this to something else if you'd prefer
No description provided.