Skip to content

Instantly share code, notes, and snippets.

View Zokol's full-sized avatar

Heikki Juva Zokol

  • Finland
View GitHub Profile

Keybase proof

I hereby claim:

  • I am zokol on github.
  • I am zokol (https://keybase.io/zokol) on keybase.
  • I have a public key ASA_xLwyYSnxkewPOeoYJZSv18hq846ejaB5xidjj2e43Ao

To claim this, I am signing this object:

@Zokol
Zokol / gist:8567597
Created January 22, 2014 21:24
Sample program to demonstrate Bluetooth serial reading on Arduino.
#include <Wire.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>
#define OLED_DC 4
#define OLED_CS 3
#define OLED_CLK 52
#define OLED_MOSI 51
#define OLED_RESET 5
Adafruit_SSD1306 display(OLED_MOSI, OLED_CLK, OLED_DC, OLED_RESET, OLED_CS);