mirror of
https://github.com/nopnop2002/esp-idf-ssd1306.git
synced 2024-09-19 17:56:25 -04:00
Update README.md
This commit is contained in:
parent
51253481fd
commit
1e60bb196c
@ -27,7 +27,6 @@ cc -o bdf2c bdf2c.c
|
|||||||
```
|
```
|
||||||
|
|
||||||
Specify the font variable name with the -n option.
|
Specify the font variable name with the -n option.
|
||||||
Characters that cannot be used in C language variable names will result in an error during compilation.
|
|
||||||
```
|
```
|
||||||
./bdf2c -n ncenR12 -b < $HOME/u8g2-hal-esp-idf/examples/i2c/components/u8g2/tools/font/bdf/ncenR12.bdf > main/ncenR12.h
|
./bdf2c -n ncenR12 -b < $HOME/u8g2-hal-esp-idf/examples/i2c/components/u8g2/tools/font/bdf/ncenR12.bdf > main/ncenR12.h
|
||||||
|
|
||||||
@ -38,6 +37,12 @@ Characters that cannot be used in C language variable names will result in an er
|
|||||||
./bdf2c -n Scroll_o_Sprites -b < $HOME/u8g2-hal-esp-idf/examples/i2c/components/u8g2/tools/font/pbm/Scroll-o-Sprites.bdf > main/Scroll-o-Sprites.h
|
./bdf2c -n Scroll_o_Sprites -b < $HOME/u8g2-hal-esp-idf/examples/i2c/components/u8g2/tools/font/pbm/Scroll-o-Sprites.bdf > main/Scroll-o-Sprites.h
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Characters that cannot be used in C language variable names will result in an error during compilation.
|
||||||
|
This is unacceptable.
|
||||||
|
```
|
||||||
|
./bdf2c -n Scroll-o_Sprites -b < $HOME/u8g2-hal-esp-idf/examples/i2c/components/u8g2/tools/font/pbm/Scroll-o-Sprites.bdf > main/Scroll-o-Sprites.h
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
- BDF font files can be viewed with the following command.
|
- BDF font files can be viewed with the following command.
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user