added simple tutorials, modified RESET pin

This commit is contained in:
JP
2014-06-09 11:01:47 +10:00
parent 8db48a9538
commit 8ebf545e08
4 changed files with 353 additions and 5 deletions

View File

@@ -108,7 +108,9 @@ void MicroView::begin() {
setColor(WHITE);
setDrawMode(NORM);
setCursor(0,0);
pinMode(OLEDPWR, OUTPUT);
digitalWrite(OLEDPWR,HIGH);
// Setting up SPI pins
pinMode(MOSI, OUTPUT);
pinMode(SCK, OUTPUT);
@@ -243,7 +245,7 @@ void MicroView::clear(uint8_t mode) {
else
{
memset(screenmemory,0,384); // (64 x 48) / 8 = 384
display();
//display();
}
}