Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
/* patterns.h
*
* Contains patterns used in display
*
* Copyright 2015 - 2017 (C) Taz8du29
* Refer to LICENSE.MD for more infos about copyright
*/
#ifndef _PATTERNS_H_
#define _PATTERNS_H_
#include <avr/pgmspace.h>
// A tiny battery charing animation
PROGMEM const uint8_t bat_0[8] = {0b00011000, 0b00111100, 0b00100100, 0b00100100, 0b00100100, 0b00100100, 0b00100100, 0b00111100};
PROGMEM const uint8_t bat_20[8] = {0b00011000, 0b00111100, 0b00100100, 0b00100100, 0b00100100, 0b00100100, 0b00111100, 0b00111100};
PROGMEM const uint8_t bat_40[8] = {0b00011000, 0b00111100, 0b00100100, 0b00100100, 0b00100100, 0b00111100, 0b00111100, 0b00111100};
PROGMEM const uint8_t bat_60[8] = {0b00011000, 0b00111100, 0b00100100, 0b00100100, 0b00111100, 0b00111100, 0b00111100, 0b00111100};
PROGMEM const uint8_t bat_80[8] = {0b00011000, 0b00111100, 0b00100100, 0b00111100, 0b00111100, 0b00111100, 0b00111100, 0b00111100};
PROGMEM const uint8_t bat_100[8] = {0b00011000, 0b00111100, 0b00111100, 0b00111100, 0b00111100, 0b00111100, 0b00111100, 0b00111100};
// Two images for a small Space Invaders animation 1
PROGMEM const uint8_t SI1_On[8] = {0b01000010, 0b00100100, 0b10111101, 0b11011011, 0b11111111, 0b00111100, 0b00100100, 0b01000010};
PROGMEM const uint8_t SI1_Off[8] = {0b01000010, 0b00100100, 0b00111100, 0b01011010, 0b11111111, 0b10111101, 0b10100101, 0b00011000};
// Two images for a small Space Invaders animation 2
PROGMEM const uint8_t SI2_On[8] = {0b00011000, 0b00111100, 0b01111110, 0b11011011, 0b11111111, 0b00100100, 0b01011010, 0b10100101};
PROGMEM const uint8_t SI2_Off[8] = {0b00011000, 0b00111100, 0b01111110, 0b11011011, 0b11111111, 0b01011010, 0b10000001, 0b01000010};
// Some other stuff
PROGMEM const uint8_t heart[8] = {0b00000000, 0b01100110, 0b11111111, 0b11111111, 0b11111111, 0b01111110, 0b00111100, 0b00011000};
PROGMEM const uint8_t smile[8] = {0b00111100, 0b01000010, 0b10100101, 0b10000001, 0b10100101, 0b10011001, 0b01000010, 0b00111100};
PROGMEM const uint8_t clock[8] = {0b00111100, 0b01000010, 0b10000001, 0b10001101, 0b10010001, 0b10100001, 0b01000010, 0b00111100};
// Template
/*
PROGMEM const uint8_t xyz[8] = {
0b,
0b,
0b,
0b,
0b,
0b,
0b,
0b
};
*/
#endif /* !_PATTERNS_H_ */
0d76eaffaThis file is pinned to the selected release. Download the original to open it in your design tool.