Skip to content

Instantly share code, notes, and snippets.

@microcontrollershub
Created May 10, 2018 16:55
Show Gist options
  • Save microcontrollershub/934fd387a4353e9109c0355934b4cf6e to your computer and use it in GitHub Desktop.
Save microcontrollershub/934fd387a4353e9109c0355934b4cf6e to your computer and use it in GitHub Desktop.
// Custom Character for 1602 LCD
// by Varad Kulkarni <http://www.microcontrollershub.com>
// Created on 9 May 2018
// Project link : https://youtu.be/Lkvu3Qug_PM
// Battery Full
byte BatteryF[8] = {
0b00100,
0b11111,
0b11111,
0b11111,
0b11111,
0b11111,
0b11111,
0b11111
};
// Battery Half
byte BatteryH[8] = {
0b00100,
0b11111,
0b10001,
0b10001,
0b11111,
0b11111,
0b11111,
0b11111
};
// Battery Empty
byte BatteryE[8] = {
0b00100,
0b11111,
0b10001,
0b10001,
0b10001,
0b10001,
0b10001,
0b11111
};
// Heart
byte Heart[8] = {
0b00000,
0b00000,
0b01010,
0b11111,
0b11111,
0b01110,
0b00100,
0b00000
};
// Invert Heart
byte IHeart[8] = {
0b11111,
0b11111,
0b10101,
0b00000,
0b00000,
0b10001,
0b11011,
0b11111
};
// Charger
byte Charger[8] = {
0b01010,
0b01010,
0b11111,
0b10001,
0b10001,
0b01110,
0b00100,
0b00100
};
// Speaker
byte Speaker[8] = {
0b00001,
0b00011,
0b00111,
0b11111,
0b11111,
0b00111,
0b00011,
0b00001
};
// Bell
byte Bell[8] = {
0b00100,
0b01110,
0b01110,
0b01110,
0b11111,
0b00000,
0b00100,
0b00000
};
// Music 1
byte Music_1[8] = {
0b00001,
0b00011,
0b00101,
0b01001,
0b01011,
0b11011,
0b11000,
0b00000
};
// Music 2
byte Music_2[8] = {
0b00000,
0b00001,
0b00011,
0b00101,
0b01001,
0b01011,
0b11011,
0b11000
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment