mirror of
https://github.com/nopnop2002/esp-idf-ssd1306.git
synced 2024-10-03 18:18:47 -04:00
Update README.md
This commit is contained in:
parent
f85f9e6c56
commit
3df4b5bd68
@ -28,13 +28,13 @@ cc -o bdf2c bdf2c.c
|
||||
|
||||
Specify the font variable name with the -n option.
|
||||
```
|
||||
./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/tools/font/bdf/ncenR12.bdf > main/ncenR12.h
|
||||
|
||||
./bdf2c -n timR12 -b < $HOME/u8g2-hal-esp-idf/examples/i2c/components/u8g2/tools/font/bdf/timR12.bdf > main/timR12.h
|
||||
./bdf2c -n timR12 -b < $HOME/u8g2/tools/font/bdf/timR12.bdf > main/timR12.h
|
||||
|
||||
./bdf2c -n emoticons -b < $HOME/u8g2-hal-esp-idf/examples/i2c/components/u8g2/tools/font/emoticons/emoticons21.bdf > main/emoticons.h
|
||||
./bdf2c -n emoticons -b < $HOME/u8g2/tools/font/emoticons/emoticons21.bdf > main/emoticons.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
|
||||
./bdf2c -n Scroll_o_Sprites -b < $HOME/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.
|
||||
@ -46,13 +46,13 @@ This is unacceptable.
|
||||
|
||||
- BDF font files can be viewed with the following command.
|
||||
```
|
||||
./bdf2c -B < $HOME/u8g2-hal-esp-idf/examples/i2c/components/u8g2/tools/font/bdf/ncenR12.bdf | more
|
||||
./bdf2c -B < $HOME/u8g2/tools/font/bdf/ncenR12.bdf | more
|
||||
|
||||
./bdf2c -B < $HOME/u8g2-hal-esp-idf/examples/i2c/components/u8g2/tools/font/bdf/timR12.bdf | more
|
||||
./bdf2c -B < $HOME/u8g2/tools/font/bdf/timR12.bdf | more
|
||||
|
||||
./bdf2c -B < $HOME/u8g2-hal-esp-idf/examples/i2c/components/u8g2/tools/font/emoticons/emoticons21.bdf | more
|
||||
./bdf2c -B < $HOME/u8g2/tools/font/emoticons/emoticons21.bdf | more
|
||||
|
||||
./bdf2c -B < $HOME/u8g2-hal-esp-idf/examples/i2c/components/u8g2/tools/font/pbm/Scroll-o-Sprites.bdf | more
|
||||
./bdf2c -B < $HOME/u8g2/tools/font/pbm/Scroll-o-Sprites.bdf | more
|
||||
```
|
||||
|
||||
- Add header files to main.c.
|
||||
|
Loading…
Reference in New Issue
Block a user