#include <SPI.h>
#include <Wire.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>
#include "Strings.h"
// Declaration for an SSD1306 display connected to I2C (SDA, SCL pins)
Adafruit_SSD1306 display(128, 32, &Wire, 4);
int ch = 9;
static const unsigned char PROGMEM logo_bmp[] =
{ 0b00000000, 0b11000000,
0b00000001, 0b11000000,
0b00000001, 0b11000000,
0b00000011, 0b11100000,
0b11110011, 0b11100000,
0b11111110, 0b11111000,
0b01111110, 0b11111111,
0b00110011, 0b10011111,
0b00011111, 0b11111100,
0b00001101, 0b01110000,
0b00011011, 0b10100000,
0b00111111, 0b11100000,
0b00111111, 0b11110000,
0b01111100, 0b11110000,
0b01110000, 0b01110000,
0b00000000, 0b00110000 };
static const unsigned char icon[] PROGMEM = {
0b00000000, 0b00000000, //
0b00000111, 0b11100000, // ######
0b00011111, 0b11111000, // ##########
0b00111111, 0b11111100, // ############
0b01110000, 0b00001110, // ### ###
0b01100111, 0b11100110, // ## ###### ##
0b00001111, 0b11110000, // ########
0b00011000, 0b00011000, // ## ##
0b00000011, 0b11000000, // ####
0b00000111, 0b11100000, // ######
0b00000100, 0b00100000, // # #
0b00000001, 0b10000000, // ##
0b00000001, 0b10000000, // ##
0b00000000, 0b00000000, //
0b00000000, 0b00000000, //
0b00000000, 0b00000000, //
};