Skip to content

Commit

Permalink
re-org
Browse files Browse the repository at this point in the history
  • Loading branch information
gavinlyonsrepo committed Mar 25, 2022
1 parent 370503a commit befad78
Show file tree
Hide file tree
Showing 26 changed files with 160 additions and 58 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
stuff
stuff/
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
11 changes: 11 additions & 0 deletions Microcontroller_Fonts/LCD_OLED/AlphaNumeric/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
**Font table**

| Font num | Font name | Pixel size X by Y | data type size | ASCII range HEX |
| ------ | ------ | ------ | ------ | ------ |
| 1 | BigNums | 16x32 | byte | 0x30-0x3A |
| 2 | SmallNums | 16x16 | byte | 0x30-0x3A |
| 3 | AlphaNumMed | 8x16 | byte | 0x20 - 0x7E |
| 4 | AlphaNumSmall | 6x12 | byte | 0x20 - 0x7E |

1. #1-#2 are used here [project](https://github.com/gavinlyonsrepo/ERM19264_UC1609)

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
104 changes: 104 additions & 0 deletions Microcontroller_Fonts/LCD_OLED/EightBitHigh/FONT_homespun.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
#ifdef NOKIA5110_FONT_HomeSpun
// ASCII font file : Homespun FONT 7 by 8
// added v2.3

const PROGMEM unsigned char FontHomeSpun[95][7] = {
{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, //
{0x00, 0x00, 0x00, 0x5f, 0x00, 0x00, 0x00}, // !
{0x03, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00}, // "
{0x14, 0x7f, 0x14, 0x7f, 0x14, 0x00, 0x00}, // #
{0x6f, 0x49, 0xc9, 0x7b, 0x00, 0x00, 0x00}, // $
{0x63, 0x13, 0x08, 0x64, 0x63, 0x00, 0x00}, // %
{0x7f, 0xc9, 0x49, 0x63, 0x00, 0x00, 0x00}, // &
{0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00}, // '
{0x3e, 0x41, 0x00, 0x00, 0x00, 0x00, 0x00}, // (
{0x41, 0x3e, 0x00, 0x00, 0x00, 0x00, 0x00}, // )
{0x0a, 0x04, 0x1f, 0x04, 0x0a, 0x00, 0x00}, // *
{0x08, 0x08, 0x3e, 0x08, 0x08, 0x00, 0x00}, // +
{0x00, 0x00, 0xc0, 0x00, 0x00, 0x00, 0x00}, // ,
{0x08, 0x08, 0x08, 0x08, 0x00, 0x00, 0x00}, // -
{0x00, 0x00, 0x00, 0x40, 0x00, 0x00, 0x00}, // .
{0x60, 0x10, 0x08, 0x04, 0x03, 0x00, 0x00}, // /
{0x7f, 0x41, 0x41, 0x7f, 0x00, 0x00, 0x00}, // 0
{0x01, 0x7f, 0x00, 0x00, 0x00, 0x00, 0x00}, // 1
{0x7b, 0x49, 0x49, 0x6f, 0x00, 0x00, 0x00}, // 2
{0x63, 0x49, 0x49, 0x7f, 0x00, 0x00, 0x00}, // 3
{0x0f, 0x08, 0x08, 0x7f, 0x00, 0x00, 0x00}, // 4
{0x6f, 0x49, 0x49, 0x7b, 0x00, 0x00, 0x00}, // 5
{0x7f, 0x49, 0x49, 0x7b, 0x00, 0x00, 0x00}, // 6
{0x03, 0x01, 0x01, 0x7f, 0x00, 0x00, 0x00}, // 7
{0x7f, 0x49, 0x49, 0x7f, 0x00, 0x00, 0x00}, // 8
{0x0f, 0x09, 0x09, 0x7f, 0x00, 0x00, 0x00}, // 9
{0x00, 0x00, 0x41, 0x00, 0x00, 0x00, 0x00}, // :
{0x00, 0x00, 0xc1, 0x00, 0x00, 0x00, 0x00}, // ;
{0x08, 0x14, 0x22, 0x00, 0x00, 0x00, 0x00}, // <
{0x14, 0x14, 0x14, 0x14, 0x00, 0x00, 0x00}, // =
{0x22, 0x14, 0x08, 0x00, 0x00, 0x00, 0x00}, // >
{0x03, 0x59, 0x09, 0x0f, 0x00, 0x00, 0x00}, // ?
{0x7f, 0x41, 0x5d, 0x55, 0x5f, 0x00, 0x00}, // @
{0x7f, 0x09, 0x09, 0x7f, 0x00, 0x00, 0x00}, // A
{0x7f, 0x49, 0x49, 0x77, 0x00, 0x00, 0x00}, // B
{0x7f, 0x41, 0x41, 0x63, 0x00, 0x00, 0x00}, // C
{0x7f, 0x41, 0x41, 0x3e, 0x00, 0x00, 0x00}, // D
{0x7f, 0x49, 0x49, 0x63, 0x00, 0x00, 0x00}, // E
{0x7f, 0x09, 0x09, 0x03, 0x00, 0x00, 0x00}, // F
{0x7f, 0x41, 0x49, 0x7b, 0x00, 0x00, 0x00}, // G
{0x7f, 0x08, 0x08, 0x7f, 0x00, 0x00, 0x00}, // H
{0x41, 0x7f, 0x41, 0x00, 0x00, 0x00, 0x00}, // I
{0x60, 0x40, 0x40, 0x7f, 0x00, 0x00, 0x00}, // J
{0x7f, 0x08, 0x08, 0x77, 0x00, 0x00, 0x00}, // K
{0x7f, 0x40, 0x40, 0x60, 0x00, 0x00, 0x00}, // L
{0x7f, 0x01, 0x01, 0x7f, 0x01, 0x01, 0x7f}, // M
{0x7f, 0x01, 0x01, 0x7f, 0x00, 0x00, 0x00}, // N
{0x7f, 0x41, 0x41, 0x7f, 0x00, 0x00, 0x00}, // O
{0x7f, 0x09, 0x09, 0x0f, 0x00, 0x00, 0x00}, // P
{0x7f, 0x41, 0xc1, 0x7f, 0x00, 0x00, 0x00}, // Q
{0x7f, 0x09, 0x09, 0x77, 0x00, 0x00, 0x00}, // R
{0x6f, 0x49, 0x49, 0x7b, 0x00, 0x00, 0x00}, // S
{0x01, 0x01, 0x7f, 0x01, 0x01, 0x00, 0x00}, // T
{0x7f, 0x40, 0x40, 0x7f, 0x00, 0x00, 0x00}, // U
{0x7f, 0x20, 0x10, 0x0f, 0x00, 0x00, 0x00}, // V
{0x7f, 0x40, 0x40, 0x7f, 0x40, 0x40, 0x7f}, // W
{0x77, 0x08, 0x08, 0x77, 0x00, 0x00, 0x00}, // X
{0x6f, 0x48, 0x48, 0x7f, 0x00, 0x00, 0x00}, // Y
{0x71, 0x49, 0x49, 0x47, 0x00, 0x00, 0x00}, // Z
{0x7f, 0x41, 0x00, 0x00, 0x00, 0x00, 0x00}, // [
{0x03, 0x04, 0x08, 0x10, 0x60, 0x00, 0x00}, // "\"
{0x41, 0x7f, 0x00, 0x00, 0x00, 0x00, 0x00}, // ]
{0x04, 0x02, 0x01, 0x02, 0x04, 0x00, 0x00}, // ^
{0x80, 0x80, 0x80, 0x80, 0x00, 0x00, 0x00}, // _
{0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, // `
{0x74, 0x54, 0x54, 0x7c, 0x00, 0x00, 0x00}, // a
{0x7f, 0x44, 0x44, 0x7c, 0x00, 0x00, 0x00}, // b
{0x7c, 0x44, 0x44, 0x6c, 0x00, 0x00, 0x00}, // c
{0x7c, 0x44, 0x44, 0x7f, 0x00, 0x00, 0x00}, // d
{0x7c, 0x54, 0x54, 0x5c, 0x00, 0x00, 0x00}, // e
{0x7f, 0x05, 0x05, 0x01, 0x00, 0x00, 0x00}, // f
{0xbc, 0xa4, 0xa4, 0xfc, 0x00, 0x00, 0x00}, // g
{0x7f, 0x04, 0x04, 0x7c, 0x00, 0x00, 0x00}, // h
{0x7d, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, // i
{0x80, 0xfd, 0x00, 0x00, 0x00, 0x00, 0x00}, // j
{0x7f, 0x04, 0x04, 0x7a, 0x00, 0x00, 0x00}, // k
{0x7f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, // l
{0x7c, 0x04, 0x04, 0x7c, 0x04, 0x04, 0x7c}, // m
{0x7c, 0x04, 0x04, 0x7c, 0x00, 0x00, 0x00}, // n
{0x7c, 0x44, 0x44, 0x7c, 0x00, 0x00, 0x00}, // o
{0xfc, 0x44, 0x44, 0x7c, 0x00, 0x00, 0x00}, // p
{0x7c, 0x44, 0x44, 0xfc, 0x00, 0x00, 0x00}, // q
{0x7c, 0x04, 0x04, 0x0c, 0x00, 0x00, 0x00}, // r
{0x5c, 0x54, 0x54, 0x74, 0x00, 0x00, 0x00}, // s
{0x7f, 0x44, 0x44, 0x60, 0x00, 0x00, 0x00}, // t
{0x7c, 0x40, 0x40, 0x7c, 0x00, 0x00, 0x00}, // u
{0x7c, 0x20, 0x10, 0x0c, 0x00, 0x00, 0x00}, // v
{0x7c, 0x40, 0x40, 0x7c, 0x40, 0x40, 0x7c}, // w
{0x6c, 0x10, 0x10, 0x6c, 0x00, 0x00, 0x00}, // x
{0xbc, 0xa0, 0xa0, 0xfc, 0x00, 0x00, 0x00}, // y
{0x64, 0x54, 0x54, 0x4c, 0x00, 0x00, 0x00}, // z
{0x08, 0x3e, 0x41, 0x00, 0x00, 0x00, 0x00}, // {
{0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, // |
{0x41, 0x3e, 0x08, 0x00, 0x00, 0x00, 0x00}, // }
{0x1c, 0x04, 0x1c, 0x10, 0x1c, 0x00, 0x00} // ~
};

#endif //end of homespun font

File renamed without changes.
File renamed without changes.
20 changes: 20 additions & 0 deletions Microcontroller_Fonts/LCD_OLED/EightBitHigh/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@


**Font table**

| Font num | Font name | Pixel size X by Y | data type size | ASCII range HEX |
| ------ | ------ | ------ | ------ | ------ |
| 1 | Basic | 5x8 | byte | 0x20 - 0x7D |
| 2 | Thick | 7x8 | byte | 0x20 - 0x5A |
| 3 | homespun | 7x8 | byte | 0x20 - 0x7A |
| 4 | Seven segment | 4x8| byte | 0x20 - 0x7A |
| 5 | Wide | 8x8 | byte | 0x20 - 0x5A |
| 6 | Tiny | 3x8 | byte | 0x20 - 0x7E |
| 7 | All ASCII | 5x8 | byte | 0x00 - 0xFF all |
| 8 | All ASCII 2 | 5x8 | byte | 0x00 - 0xFF all |
| 9 | Aurebesh | 5x8 | byte | 0x20 - 0x5A |

1. #1-6 are from thjs [project](https://github.com/gavinlyonsrepo/NOKIA5110_TEXT)
2. #7
[project](https://github.com/gavinlyonsrepo/ERM19264_UC1609)
3. #8 [project](https://github.com/gavinlyonsrepo/pic_18F47K42_projects/tree/master/projects/nokiagraphics)
28 changes: 0 additions & 28 deletions Microcontroller_Fonts/LCD_OLED/FONT_19.h

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
11 changes: 11 additions & 0 deletions Microcontroller_Fonts/LCD_OLED/NOKIA_TEXT_lib_7to9/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@


**Font table**

| Font num | Font name | Pixel size X by Y | data type size | ASCII range HEX |
| ------ | ------ | ------ | ------ | ------ |
| 1 | Large | 12x16 | uint16_t | 0x20 - 0x5A |
| 2 | Huge | 16x24 | uint32_t | 0x2E - 0x3B |
| 3 | Mega | 16x32 | uint32_t | 0x2E - 0x3B |

[project](https://github.com/gavinlyonsrepo/NOKIA5110_TEXT)
30 changes: 0 additions & 30 deletions Microcontroller_Fonts/LCD_OLED/README.md

This file was deleted.

File renamed without changes.
12 changes: 12 additions & 0 deletions Microcontroller_Fonts/LCD_OLED/StructPointerFonts/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@


**Font table**

| Font num | Font name | Pixel size X by Y | data type size | ASCII range HEX |
| ------ | ------ | ------ | ------ | ------ |
| 1 | PICO | 4x6 | byte | 0x20 - 0x7E |
| 2 | UNO | 6x8 | byte | 0x20 - 0x7E |
| 3 | MEGA | 16x16 | byte | 0x20 - 0x7E |

[project](https://github.com/gavinlyonsrepo/pic_18F47K42_projects/tree/master/projects/OLED_GRAPH)

0 comments on commit befad78

Please sign in to comment.