-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
438 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,259 @@ | ||
// prettier-ignore | ||
export const font8x5 = new Uint8Array([ | ||
/* 0 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
/* 1 */ 0x00, 0x00, 0x70, 0xa8, 0xf8, 0xd8, 0x70, 0x00, | ||
/* 2 */ 0x00, 0x00, 0x70, 0xa8, 0xf8, 0xf8, 0x70, 0x00, | ||
/* 3 */ 0x00, 0x00, 0x50, 0xf8, 0xf8, 0x70, 0x20, 0x00, | ||
/* 4 */ 0x00, 0x00, 0x20, 0x70, 0xf8, 0x70, 0x20, 0x00, | ||
/* 5 */ 0x00, 0x00, 0x70, 0xa8, 0xf8, 0x20, 0x20, 0x00, | ||
/* 6 */ 0x00, 0x00, 0x20, 0x70, 0xf8, 0xa8, 0x20, 0x00, | ||
/* 7 */ 0x00, 0x00, 0x00, 0x20, 0x70, 0x20, 0x00, 0x00, | ||
/* 8 */ 0x00, 0xf8, 0xf8, 0xd8, 0x88, 0xd8, 0xf8, 0xf8, | ||
/* 9 */ 0x00, 0x00, 0x00, 0x20, 0x50, 0x20, 0x00, 0x00, | ||
/* 10 */ 0x00, 0xf8, 0xf8, 0xd8, 0x88, 0xd8, 0xf8, 0xf8, | ||
/* 11 */ 0x00, 0x00, 0x38, 0x18, 0x68, 0xa0, 0x40, 0x00, | ||
/* 12 */ 0x00, 0x00, 0x20, 0x50, 0x20, 0x70, 0x20, 0x00, | ||
/* 13 */ 0x00, 0x00, 0x20, 0x50, 0x40, 0xc0, 0x80, 0x00, | ||
/* 14 */ 0x00, 0x00, 0x38, 0x48, 0x58, 0xd0, 0x80, 0x00, | ||
/* 15 */ 0x00, 0x00, 0x00, 0x20, 0x50, 0x20, 0x00, 0x00, | ||
/* 16 */ 0x00, 0x00, 0x40, 0x60, 0x70, 0x60, 0x40, 0x00, | ||
/* 17 */ 0x00, 0x00, 0x10, 0x30, 0x70, 0x30, 0x10, 0x00, | ||
/* 18 */ 0x00, 0x00, 0x20, 0x70, 0x20, 0x70, 0x20, 0x00, | ||
/* 19 */ 0x00, 0x00, 0x50, 0x50, 0x50, 0x00, 0x50, 0x00, | ||
/* 20 */ 0x00, 0x00, 0x78, 0xd0, 0xd0, 0x50, 0x50, 0x50, | ||
/* 21 */ 0x00, 0x00, 0x18, 0x60, 0x90, 0x48, 0x30, 0xc0, | ||
/* 22 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0xf8, 0xf8, 0x00, | ||
/* 23 */ 0x00, 0x00, 0x20, 0x70, 0x20, 0x70, 0x20, 0x70, | ||
/* 24 */ 0x00, 0x00, 0x20, 0x70, 0x20, 0x20, 0x20, 0x00, | ||
/* 25 */ 0x00, 0x00, 0x20, 0x20, 0x20, 0x70, 0x20, 0x00, | ||
/* 26 */ 0x00, 0x00, 0x00, 0x10, 0xf8, 0x10, 0x00, 0x00, | ||
/* 27 */ 0x00, 0x00, 0x00, 0x40, 0xf8, 0x40, 0x00, 0x00, | ||
/* 28 */ 0x00, 0x00, 0x00, 0x00, 0x80, 0xf8, 0x00, 0x00, | ||
/* 29 */ 0x00, 0x00, 0x00, 0x50, 0xf8, 0x50, 0x00, 0x00, | ||
/* 30 */ 0x00, 0x00, 0x00, 0x00, 0x20, 0x70, 0xf8, 0x00, | ||
/* 31 */ 0x00, 0x00, 0x00, 0x00, 0xf8, 0x70, 0x20, 0x00, | ||
/* 32 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
/* 33 */ 0x00, 0x00, 0x20, 0x20, 0x20, 0x00, 0x20, 0x00, | ||
/* 34 */ 0x00, 0x00, 0x50, 0x50, 0x00, 0x00, 0x00, 0x00, | ||
/* 35 */ 0x00, 0x00, 0x50, 0xf8, 0x50, 0xf8, 0x50, 0x00, | ||
/* 36 */ 0x00, 0x00, 0x20, 0x30, 0x40, 0x30, 0x60, 0x20, | ||
/* 37 */ 0x00, 0x40, 0xa8, 0x50, 0x30, 0x68, 0x90, 0x00, | ||
/* 38 */ 0x00, 0x00, 0x30, 0x40, 0x68, 0x90, 0x68, 0x00, | ||
/* 39 */ 0x00, 0x20, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
/* 40 */ 0x00, 0x00, 0x20, 0x40, 0x40, 0x40, 0x20, 0x00, | ||
/* 41 */ 0x00, 0x00, 0x40, 0x20, 0x20, 0x20, 0x40, 0x00, | ||
/* 42 */ 0x00, 0x00, 0x50, 0x20, 0x70, 0x20, 0x50, 0x00, | ||
/* 43 */ 0x00, 0x00, 0x00, 0x20, 0x70, 0x20, 0x00, 0x00, | ||
/* 44 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0x40, | ||
/* 45 */ 0x00, 0x00, 0x00, 0xf0, 0x00, 0x00, 0x00, 0x00, | ||
/* 46 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0x00, | ||
/* 47 */ 0x00, 0x00, 0x10, 0x20, 0x20, 0x40, 0x40, 0x00, | ||
/* 48 */ 0x00, 0x00, 0x60, 0x90, 0x90, 0x90, 0x60, 0x00, | ||
/* 49 */ 0x00, 0x00, 0x20, 0x60, 0x20, 0x20, 0x20, 0x00, | ||
/* 50 */ 0x00, 0x00, 0x60, 0x90, 0x20, 0x40, 0xf0, 0x00, | ||
/* 51 */ 0x00, 0x00, 0xe0, 0x10, 0x60, 0x10, 0xe0, 0x00, | ||
/* 52 */ 0x00, 0x00, 0x10, 0x30, 0x50, 0xf0, 0x10, 0x00, | ||
/* 53 */ 0x00, 0x00, 0xf0, 0x80, 0xe0, 0x10, 0xe0, 0x00, | ||
/* 54 */ 0x00, 0x00, 0x60, 0x80, 0xe0, 0x90, 0x60, 0x00, | ||
/* 55 */ 0x00, 0x00, 0xf0, 0x10, 0x20, 0x40, 0x40, 0x00, | ||
/* 56 */ 0x00, 0x00, 0x60, 0x90, 0x60, 0x90, 0x60, 0x00, | ||
/* 57 */ 0x00, 0x00, 0x60, 0x90, 0x70, 0x10, 0x60, 0x00, | ||
/* 58 */ 0x00, 0x00, 0x00, 0x00, 0x20, 0x00, 0x20, 0x00, | ||
/* 59 */ 0x00, 0x00, 0x00, 0x00, 0x20, 0x00, 0x20, 0x40, | ||
/* 60 */ 0x00, 0x00, 0x10, 0x20, 0x40, 0x20, 0x10, 0x00, | ||
/* 61 */ 0x00, 0x00, 0x00, 0x70, 0x00, 0x70, 0x00, 0x00, | ||
/* 62 */ 0x00, 0x00, 0x40, 0x20, 0x10, 0x20, 0x40, 0x00, | ||
/* 63 */ 0x00, 0x00, 0x60, 0x10, 0x60, 0x00, 0x40, 0x00, | ||
/* 64 */ 0x00, 0x00, 0x70, 0x88, 0xb0, 0x80, 0x70, 0x00, | ||
/* 65 */ 0x00, 0x00, 0x60, 0x90, 0xf0, 0x90, 0x90, 0x00, | ||
/* 66 */ 0x00, 0x00, 0xe0, 0x90, 0xe0, 0x90, 0xe0, 0x00, | ||
/* 67 */ 0x00, 0x00, 0x70, 0x80, 0x80, 0x80, 0x70, 0x00, | ||
/* 68 */ 0x00, 0x00, 0xe0, 0x90, 0x90, 0x90, 0xe0, 0x00, | ||
/* 69 */ 0x00, 0x00, 0xf0, 0x80, 0xe0, 0x80, 0xf0, 0x00, | ||
/* 70 */ 0x00, 0x00, 0xf0, 0x80, 0xe0, 0x80, 0x80, 0x00, | ||
/* 71 */ 0x00, 0x00, 0x60, 0x90, 0x80, 0x90, 0x70, 0x00, | ||
/* 72 */ 0x00, 0x00, 0x90, 0x90, 0xf0, 0x90, 0x90, 0x00, | ||
/* 73 */ 0x00, 0x00, 0x70, 0x20, 0x20, 0x20, 0x70, 0x00, | ||
/* 74 */ 0x00, 0x00, 0x10, 0x10, 0x90, 0x90, 0x60, 0x00, | ||
/* 75 */ 0x00, 0x00, 0x90, 0xa0, 0xc0, 0xa0, 0x90, 0x00, | ||
/* 76 */ 0x00, 0x00, 0x80, 0x80, 0x80, 0x80, 0xf0, 0x00, | ||
/* 77 */ 0x00, 0x00, 0x90, 0x90, 0xf0, 0x90, 0x90, 0x00, | ||
/* 78 */ 0x00, 0x00, 0x90, 0xd0, 0xb0, 0x90, 0x90, 0x00, | ||
/* 79 */ 0x00, 0x00, 0x60, 0x90, 0x90, 0x90, 0x60, 0x00, | ||
/* 80 */ 0x00, 0x00, 0xe0, 0x90, 0xe0, 0x80, 0x80, 0x00, | ||
/* 81 */ 0x00, 0x00, 0x60, 0x90, 0x90, 0x90, 0x60, 0x10, | ||
/* 82 */ 0x00, 0x00, 0xe0, 0x90, 0xe0, 0x90, 0x90, 0x00, | ||
/* 83 */ 0x00, 0x00, 0x70, 0x80, 0x60, 0x10, 0xe0, 0x00, | ||
/* 84 */ 0x00, 0x00, 0xf8, 0x20, 0x20, 0x20, 0x20, 0x00, | ||
/* 85 */ 0x00, 0x00, 0x90, 0x90, 0x90, 0x90, 0x60, 0x00, | ||
/* 86 */ 0x00, 0x00, 0x90, 0x90, 0x90, 0x60, 0x60, 0x00, | ||
/* 87 */ 0x00, 0x00, 0x88, 0xa8, 0xa8, 0x50, 0x50, 0x00, | ||
/* 88 */ 0x00, 0x00, 0x90, 0x90, 0x60, 0x50, 0x90, 0x00, | ||
/* 89 */ 0x00, 0x00, 0x50, 0x50, 0x50, 0x20, 0x20, 0x00, | ||
/* 90 */ 0x00, 0x00, 0xf0, 0x20, 0x40, 0x80, 0xf0, 0x00, | ||
/* 91 */ 0x00, 0x00, 0x60, 0x40, 0x40, 0x40, 0x60, 0x00, | ||
/* 92 */ 0x00, 0x00, 0x40, 0x40, 0x20, 0x20, 0x10, 0x00, | ||
/* 93 */ 0x00, 0x00, 0x60, 0x20, 0x20, 0x20, 0x60, 0x00, | ||
/* 94 */ 0x00, 0x00, 0x20, 0x50, 0x00, 0x00, 0x00, 0x00, | ||
/* 95 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf8, | ||
/* 96 */ 0x00, 0x00, 0x40, 0x20, 0x00, 0x00, 0x00, 0x00, | ||
/* 97 */ 0x00, 0x00, 0x00, 0x60, 0x10, 0x70, 0x50, 0x00, | ||
/* 98 */ 0x00, 0x80, 0x80, 0xe0, 0x90, 0x90, 0xe0, 0x00, | ||
/* 99 */ 0x00, 0x00, 0x00, 0x30, 0x40, 0x40, 0x30, 0x00, | ||
/* 100 */ 0x00, 0x00, 0x10, 0x70, 0x90, 0x90, 0x70, 0x00, | ||
/* 101 */ 0x00, 0x00, 0x00, 0x60, 0xf0, 0x80, 0x70, 0x00, | ||
/* 102 */ 0x00, 0x00, 0x30, 0x40, 0xe0, 0x40, 0x40, 0x00, | ||
/* 103 */ 0x00, 0x00, 0x00, 0x70, 0x90, 0x70, 0x10, 0x60, | ||
/* 104 */ 0x00, 0x00, 0x80, 0xe0, 0x90, 0x90, 0x90, 0x00, | ||
/* 105 */ 0x00, 0x20, 0x00, 0x60, 0x20, 0x20, 0x70, 0x00, | ||
/* 106 */ 0x00, 0x10, 0x00, 0x10, 0x10, 0x10, 0x10, 0x60, | ||
/* 107 */ 0x00, 0x00, 0x80, 0xa0, 0xc0, 0xa0, 0x90, 0x00, | ||
/* 108 */ 0x00, 0x60, 0x20, 0x20, 0x20, 0x20, 0x70, 0x00, | ||
/* 109 */ 0x00, 0x00, 0x00, 0x90, 0xf0, 0x90, 0x90, 0x00, | ||
/* 110 */ 0x00, 0x00, 0x00, 0xe0, 0x90, 0x90, 0x90, 0x00, | ||
/* 111 */ 0x00, 0x00, 0x00, 0x60, 0x90, 0x90, 0x60, 0x00, | ||
/* 112 */ 0x00, 0x00, 0x00, 0xe0, 0x90, 0x90, 0xe0, 0x80, | ||
/* 113 */ 0x00, 0x00, 0x00, 0x70, 0x90, 0x90, 0x70, 0x10, | ||
/* 114 */ 0x00, 0x00, 0x00, 0x50, 0x60, 0x40, 0x40, 0x00, | ||
/* 115 */ 0x00, 0x00, 0x00, 0x70, 0xc0, 0x30, 0xe0, 0x00, | ||
/* 116 */ 0x00, 0x00, 0x40, 0xf0, 0x40, 0x40, 0x30, 0x00, | ||
/* 117 */ 0x00, 0x00, 0x00, 0x90, 0x90, 0x90, 0x70, 0x00, | ||
/* 118 */ 0x00, 0x00, 0x00, 0x90, 0x90, 0x60, 0x60, 0x00, | ||
/* 119 */ 0x00, 0x00, 0x00, 0x90, 0x90, 0xf0, 0x90, 0x00, | ||
/* 120 */ 0x00, 0x00, 0x00, 0x90, 0x60, 0x60, 0x90, 0x00, | ||
/* 121 */ 0x00, 0x00, 0x00, 0x90, 0x90, 0x70, 0x10, 0x60, | ||
/* 122 */ 0x00, 0x00, 0x00, 0xf0, 0x20, 0x40, 0xf0, 0x00, | ||
/* 123 */ 0x00, 0x10, 0x20, 0x40, 0x40, 0x20, 0x10, 0x00, | ||
/* 124 */ 0x00, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x00, | ||
/* 125 */ 0x00, 0x40, 0x20, 0x10, 0x10, 0x20, 0x40, 0x00, | ||
/* 126 */ 0x00, 0x00, 0x00, 0x50, 0xa0, 0x00, 0x00, 0x00, | ||
/* 127 */ 0x00, 0x00, 0x00, 0x20, 0x50, 0x88, 0xf8, 0x00, | ||
/* 128 */ 0x00, 0x00, 0x70, 0x80, 0x80, 0x80, 0x70, 0x20, | ||
/* 129 */ 0x00, 0x50, 0x00, 0x90, 0x90, 0x90, 0x70, 0x00, | ||
/* 130 */ 0x10, 0x20, 0x00, 0x60, 0xf0, 0x80, 0x70, 0x00, | ||
/* 131 */ 0x20, 0x50, 0x00, 0xc0, 0x20, 0xa0, 0x50, 0x00, | ||
/* 132 */ 0x00, 0x50, 0x00, 0xc0, 0x20, 0x60, 0xb0, 0x00, | ||
/* 133 */ 0x40, 0x20, 0x00, 0xc0, 0x20, 0x60, 0xb0, 0x00, | ||
/* 134 */ 0x00, 0x20, 0x00, 0xc0, 0x20, 0x60, 0xb0, 0x00, | ||
/* 135 */ 0x00, 0x00, 0x00, 0x30, 0x40, 0x40, 0x30, 0x20, | ||
/* 136 */ 0x20, 0x50, 0x00, 0x60, 0xf0, 0x80, 0x70, 0x00, | ||
/* 137 */ 0x00, 0x50, 0x00, 0x60, 0xf0, 0x80, 0x70, 0x00, | ||
/* 138 */ 0x40, 0x20, 0x00, 0x60, 0xf0, 0x80, 0x70, 0x00, | ||
/* 139 */ 0x00, 0x50, 0x00, 0x60, 0x20, 0x20, 0x70, 0x00, | ||
/* 140 */ 0x20, 0x50, 0x00, 0x60, 0x20, 0x20, 0x70, 0x00, | ||
/* 141 */ 0x40, 0x20, 0x00, 0x60, 0x20, 0x20, 0x70, 0x00, | ||
/* 142 */ 0xa0, 0x00, 0x60, 0x90, 0xf0, 0x90, 0x90, 0x00, | ||
/* 143 */ 0x20, 0x00, 0x60, 0x90, 0xf0, 0x90, 0x90, 0x00, | ||
/* 144 */ 0x10, 0x20, 0xf0, 0x80, 0xe0, 0x80, 0xf0, 0x00, | ||
/* 145 */ 0x00, 0x00, 0x00, 0xd8, 0x78, 0xe0, 0xb8, 0x00, | ||
/* 146 */ 0x00, 0x00, 0x70, 0xa0, 0xf0, 0xa0, 0xb0, 0x00, | ||
/* 147 */ 0x20, 0x50, 0x00, 0x60, 0x90, 0x90, 0x60, 0x00, | ||
/* 148 */ 0x00, 0x50, 0x00, 0x60, 0x90, 0x90, 0x60, 0x00, | ||
/* 149 */ 0x40, 0x20, 0x00, 0x60, 0x90, 0x90, 0x60, 0x00, | ||
/* 150 */ 0x20, 0x50, 0x00, 0x90, 0x90, 0x90, 0x70, 0x00, | ||
/* 151 */ 0x40, 0x20, 0x00, 0x90, 0x90, 0x90, 0x70, 0x00, | ||
/* 152 */ 0x00, 0x50, 0x00, 0x90, 0x90, 0x70, 0x10, 0x60, | ||
/* 153 */ 0x00, 0x50, 0x00, 0x60, 0x90, 0x90, 0x60, 0x00, | ||
/* 154 */ 0x50, 0x00, 0x90, 0x90, 0x90, 0x90, 0x60, 0x00, | ||
/* 155 */ 0x00, 0x00, 0x20, 0x70, 0x80, 0x80, 0x70, 0x20, | ||
/* 156 */ 0x00, 0x30, 0x50, 0x40, 0xe0, 0x40, 0xf0, 0x00, | ||
/* 157 */ 0x00, 0xd8, 0x50, 0x50, 0x20, 0x70, 0x20, 0x00, | ||
/* 158 */ 0x00, 0xc0, 0xa0, 0xb0, 0xf8, 0x90, 0x88, 0x00, | ||
/* 159 */ 0x00, 0x30, 0x40, 0x40, 0xf0, 0x40, 0x40, 0x80, | ||
/* 160 */ 0x20, 0x40, 0x00, 0xc0, 0x20, 0x60, 0xb0, 0x00, | ||
/* 161 */ 0x10, 0x20, 0x00, 0x60, 0x20, 0x20, 0x70, 0x00, | ||
/* 162 */ 0x10, 0x20, 0x00, 0x60, 0x90, 0x90, 0x60, 0x00, | ||
/* 163 */ 0x10, 0x20, 0x00, 0x90, 0x90, 0x90, 0x70, 0x00, | ||
/* 164 */ 0x50, 0xa0, 0x00, 0xe0, 0x90, 0x90, 0x90, 0x00, | ||
/* 165 */ 0x50, 0xa0, 0x90, 0xd0, 0xd0, 0xb0, 0x90, 0x00, | ||
/* 166 */ 0x00, 0x20, 0x50, 0x30, 0x00, 0x70, 0x00, 0x00, | ||
/* 167 */ 0x00, 0x20, 0x50, 0x20, 0x00, 0x70, 0x00, 0x00, | ||
/* 168 */ 0x00, 0x20, 0x00, 0x20, 0x40, 0x90, 0x60, 0x00, | ||
/* 169 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0xf8, 0x80, 0x00, | ||
/* 170 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0xf8, 0x08, 0x00, | ||
/* 171 */ 0x00, 0x80, 0x90, 0xa0, 0x58, 0x88, 0x38, 0x00, | ||
/* 172 */ 0x00, 0x88, 0x90, 0xa0, 0x48, 0x98, 0x38, 0x08, | ||
/* 173 */ 0x00, 0x20, 0x00, 0x20, 0x20, 0x70, 0x20, 0x00, | ||
/* 174 */ 0x00, 0x00, 0x00, 0x00, 0x50, 0xa0, 0x50, 0x00, | ||
/* 175 */ 0x00, 0x00, 0x00, 0x00, 0xa0, 0x50, 0xa0, 0x00, | ||
/* 176 */ 0xa8, 0x50, 0xa8, 0x50, 0xa8, 0x50, 0xa8, 0x50, | ||
/* 177 */ 0xe8, 0x50, 0xb8, 0x50, 0xe8, 0x50, 0xb8, 0x50, | ||
/* 178 */ 0xd8, 0x70, 0xd8, 0x70, 0xd8, 0x70, 0xd8, 0x70, | ||
/* 179 */ 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, | ||
/* 180 */ 0x20, 0x20, 0x20, 0xe0, 0x20, 0x20, 0x20, 0x20, | ||
/* 181 */ 0x20, 0x20, 0xe0, 0x20, 0xe0, 0x20, 0x20, 0x20, | ||
/* 182 */ 0x50, 0x50, 0x50, 0xd0, 0x50, 0x50, 0x50, 0x50, | ||
/* 183 */ 0x00, 0x00, 0x00, 0xf0, 0x50, 0x50, 0x50, 0x50, | ||
/* 184 */ 0x00, 0x00, 0xe0, 0x20, 0xe0, 0x20, 0x20, 0x20, | ||
/* 185 */ 0x50, 0x50, 0xd0, 0x10, 0xd0, 0x50, 0x50, 0x50, | ||
/* 186 */ 0x50, 0x50, 0x50, 0x50, 0x50, 0x50, 0x50, 0x50, | ||
/* 187 */ 0x00, 0x00, 0xf0, 0x10, 0xd0, 0x50, 0x50, 0x50, | ||
/* 188 */ 0x50, 0x50, 0xd0, 0x10, 0xf0, 0x00, 0x00, 0x00, | ||
/* 189 */ 0x50, 0x50, 0x50, 0xf0, 0x00, 0x00, 0x00, 0x00, | ||
/* 190 */ 0x20, 0x20, 0xe0, 0x20, 0xe0, 0x00, 0x00, 0x00, | ||
/* 191 */ 0x00, 0x00, 0x00, 0xe0, 0x20, 0x20, 0x20, 0x20, | ||
/* 192 */ 0x20, 0x20, 0x20, 0x38, 0x00, 0x00, 0x00, 0x00, | ||
/* 193 */ 0x20, 0x20, 0x20, 0xf8, 0x00, 0x00, 0x00, 0x00, | ||
/* 194 */ 0x00, 0x00, 0x00, 0xf8, 0x20, 0x20, 0x20, 0x20, | ||
/* 195 */ 0x20, 0x20, 0x20, 0x38, 0x20, 0x20, 0x20, 0x20, | ||
/* 196 */ 0x00, 0x00, 0x00, 0xf8, 0x00, 0x00, 0x00, 0x00, | ||
/* 197 */ 0x20, 0x20, 0x20, 0xf8, 0x20, 0x20, 0x20, 0x20, | ||
/* 198 */ 0x20, 0x20, 0x38, 0x20, 0x38, 0x20, 0x20, 0x20, | ||
/* 199 */ 0x50, 0x50, 0x50, 0x58, 0x50, 0x50, 0x50, 0x50, | ||
/* 200 */ 0x50, 0x50, 0x58, 0x40, 0x78, 0x00, 0x00, 0x00, | ||
/* 201 */ 0x00, 0x00, 0x78, 0x40, 0x58, 0x50, 0x50, 0x50, | ||
/* 202 */ 0x50, 0x50, 0xd8, 0x00, 0xf8, 0x00, 0x00, 0x00, | ||
/* 203 */ 0x00, 0x00, 0xf8, 0x00, 0xd8, 0x50, 0x50, 0x50, | ||
/* 204 */ 0x50, 0x50, 0x58, 0x40, 0x58, 0x50, 0x50, 0x50, | ||
/* 205 */ 0x00, 0x00, 0xf8, 0x00, 0xf8, 0x00, 0x00, 0x00, | ||
/* 206 */ 0x50, 0x50, 0xd8, 0x00, 0xd8, 0x50, 0x50, 0x50, | ||
/* 207 */ 0x20, 0x20, 0xf8, 0x00, 0xf8, 0x00, 0x00, 0x00, | ||
/* 208 */ 0x50, 0x50, 0x50, 0xf8, 0x00, 0x00, 0x00, 0x00, | ||
/* 209 */ 0x00, 0x00, 0xf8, 0x00, 0xf8, 0x20, 0x20, 0x20, | ||
/* 210 */ 0x00, 0x00, 0x00, 0xf8, 0x50, 0x50, 0x50, 0x50, | ||
/* 211 */ 0x50, 0x50, 0x50, 0x78, 0x00, 0x00, 0x00, 0x00, | ||
/* 212 */ 0x20, 0x20, 0x38, 0x20, 0x38, 0x00, 0x00, 0x00, | ||
/* 213 */ 0x00, 0x00, 0x38, 0x20, 0x38, 0x20, 0x20, 0x20, | ||
/* 214 */ 0x00, 0x00, 0x00, 0x78, 0x50, 0x50, 0x50, 0x50, | ||
/* 215 */ 0x50, 0x50, 0x50, 0xf8, 0x50, 0x50, 0x50, 0x50, | ||
/* 216 */ 0x20, 0x20, 0xf8, 0x20, 0xf8, 0x20, 0x20, 0x20, | ||
/* 217 */ 0x20, 0x20, 0x20, 0xe0, 0x00, 0x00, 0x00, 0x00, | ||
/* 218 */ 0x00, 0x00, 0x00, 0x38, 0x20, 0x20, 0x20, 0x20, | ||
/* 219 */ 0xf8, 0xf8, 0xf8, 0xf8, 0xf8, 0xf8, 0xf8, 0xf8, | ||
/* 220 */ 0x00, 0x00, 0x00, 0x00, 0xf8, 0xf8, 0xf8, 0xf8, | ||
/* 221 */ 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, | ||
/* 222 */ 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, | ||
/* 223 */ 0xf8, 0xf8, 0xf8, 0xf8, 0x00, 0x00, 0x00, 0x00, | ||
/* 224 */ 0x00, 0x00, 0x00, 0x68, 0x90, 0x90, 0x68, 0x00, | ||
/* 225 */ 0x00, 0x60, 0x90, 0xf0, 0x90, 0x90, 0xe0, 0x80, | ||
/* 226 */ 0x00, 0x70, 0x40, 0x40, 0x40, 0x40, 0x40, 0x00, | ||
/* 227 */ 0x00, 0x00, 0x70, 0x50, 0x50, 0x50, 0x50, 0x00, | ||
/* 228 */ 0x00, 0xf8, 0x48, 0x20, 0x40, 0x88, 0xf8, 0x00, | ||
/* 229 */ 0x00, 0x00, 0x78, 0x90, 0x90, 0x90, 0x60, 0x00, | ||
/* 230 */ 0x00, 0x00, 0x00, 0x90, 0x90, 0x90, 0xe8, 0x80, | ||
/* 231 */ 0x00, 0x98, 0x50, 0x20, 0x20, 0x20, 0x20, 0x00, | ||
/* 232 */ 0x00, 0x20, 0x20, 0x70, 0x88, 0x70, 0x20, 0x20, | ||
/* 233 */ 0x00, 0x00, 0x70, 0x88, 0xf8, 0x88, 0x70, 0x00, | ||
/* 234 */ 0x00, 0x00, 0x70, 0x88, 0x88, 0x50, 0xd8, 0x00, | ||
/* 235 */ 0x60, 0x80, 0x40, 0x60, 0x90, 0x90, 0x60, 0x00, | ||
/* 236 */ 0x00, 0x00, 0x00, 0x70, 0xa8, 0xa8, 0x70, 0x00, | ||
/* 237 */ 0x00, 0x00, 0x08, 0x70, 0xa8, 0x48, 0xb0, 0x00, | ||
/* 238 */ 0x00, 0x30, 0x40, 0x70, 0x40, 0x40, 0x30, 0x00, | ||
/* 239 */ 0x00, 0x60, 0x90, 0x90, 0x90, 0x90, 0x90, 0x00, | ||
/* 240 */ 0x00, 0x00, 0xf0, 0x00, 0xf0, 0x00, 0xf0, 0x00, | ||
/* 241 */ 0x00, 0x00, 0x20, 0xf8, 0x20, 0x00, 0xf8, 0x00, | ||
/* 242 */ 0x00, 0x40, 0x20, 0x10, 0x20, 0x40, 0xf0, 0x00, | ||
/* 243 */ 0x00, 0x10, 0x20, 0x40, 0x20, 0x10, 0x70, 0x00, | ||
/* 244 */ 0x00, 0x00, 0x18, 0x28, 0x20, 0x20, 0x20, 0x20, | ||
/* 245 */ 0x20, 0x20, 0x20, 0x20, 0xa0, 0xc0, 0x00, 0x00, | ||
/* 246 */ 0x00, 0x00, 0x60, 0x00, 0xf0, 0x00, 0x60, 0x00, | ||
/* 247 */ 0x00, 0x00, 0x50, 0xa0, 0x00, 0x50, 0xa0, 0x00, | ||
/* 248 */ 0x00, 0x00, 0x20, 0x50, 0x20, 0x00, 0x00, 0x00, | ||
/* 249 */ 0x00, 0x00, 0x00, 0x60, 0x60, 0x00, 0x00, 0x00, | ||
/* 250 */ 0x00, 0x00, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, | ||
/* 251 */ 0x00, 0x00, 0x18, 0x10, 0x20, 0xa0, 0x40, 0x00, | ||
/* 252 */ 0x00, 0x60, 0x50, 0x50, 0x00, 0x00, 0x00, 0x00, | ||
/* 253 */ 0x00, 0x60, 0x10, 0x20, 0x70, 0x00, 0x00, 0x00, | ||
/* 254 */ 0x00, 0x00, 0x00, 0x70, 0x70, 0x70, 0x00, 0x00, | ||
/* 255 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
]); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
import { withKnobs } from '@storybook/addon-knobs'; | ||
import { storiesOf } from '@storybook/web-components'; | ||
import { html } from 'lit-html'; | ||
import './lcd1602-element'; | ||
|
||
const helloWorld = new Uint8Array('Hello, World!'.split('').map(c => c.charCodeAt(0))); | ||
|
||
storiesOf('LCD1602', module) | ||
.addDecorator(withKnobs) | ||
.add( | ||
'Hello, World!', | ||
() => html` | ||
<wokwi-lcd1602 .characters="${helloWorld}"></wokwi-7segment> | ||
` | ||
) | ||
.add( | ||
'White on blue', | ||
() => html` | ||
<wokwi-lcd1602 color="white" background="blue" .characters="${new Uint8Array( | ||
helloWorld | ||
)}"></wokwi-7segment> | ||
` | ||
) | ||
.add( | ||
'Blinking cursor', | ||
() => html` | ||
<wokwi-lcd1602 | ||
.characters="${helloWorld}" | ||
cursor="blink" | ||
cursorX="7" | ||
cursorY="1" | ||
></wokwi-7segment> | ||
` | ||
) | ||
.add( | ||
'Underline cursor', | ||
() => html` | ||
<wokwi-lcd1602 | ||
.characters="${helloWorld}" | ||
cursor="underline" | ||
cursorX="7" | ||
cursorY="1" | ||
></wokwi-7segment> | ||
` | ||
); |
Oops, something went wrong.