OLED_FONT_ATY.h 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. /**
  2. * @file OLED_FONT_ATY.h
  3. *
  4. * @param Project DEVICE_GENERAL_ATY_LIB
  5. *
  6. * @author ATY
  7. *
  8. * @copyright
  9. * - Copyright 2017 - 2023 MZ-ATY
  10. * - This code follows:
  11. * - MZ-ATY Various Contents Joint Statement -
  12. * <a href="https://mengze.top/MZ-ATY_VCJS">
  13. * https://mengze.top/MZ-ATY_VCJS</a>
  14. * - CC 4.0 BY-NC-SA -
  15. * <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/">
  16. * https://creativecommons.org/licenses/by-nc-sa/4.0/</a>
  17. * - Your use will be deemed to have accepted the terms of this statement.
  18. *
  19. * @brief Base functions of GP22 for all embedded device
  20. *
  21. * @version
  22. * - 1_01_220901 > ATY
  23. * -# Preliminary version, first Release
  24. ********************************************************************************
  25. */
  26. #ifndef __OLED_FONT_ATY_H
  27. #define __OLED_FONT_ATY_H
  28. #include "INCLUDE_ATY.h"
  29. // #define YouYuan6x8
  30. // #define YouYuan8x16
  31. #define SongTi8x16
  32. #define SongTiY8x16
  33. // #define TemHumSymbol
  34. extern unsigned char __CODE SysIcons[];
  35. #ifdef TemHumSymbol
  36. extern unsigned char __CODE CelsiusCharZh[];/*"℃",0*/
  37. extern unsigned char __CODE FahrenheitCharZh[];/*"℉",0*/
  38. extern unsigned char __CODE DegreeCharZh[];/*"°",0*/
  39. #endif
  40. // !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~
  41. // ASCII 32-126
  42. // ASCII + 32
  43. // Size:12*6
  44. // Font YouYuan
  45. # ifdef YouYuan6x8
  46. /***********************************6*8****************************************/
  47. extern unsigned char __CODE Font6x8[];
  48. #endif
  49. # ifdef YouYuan8x16
  50. /**************************************8*16************************************/
  51. extern unsigned char __CODE Font8x16[];
  52. #endif
  53. # ifdef SongTi8x16
  54. /*******************************8*16 SongTi************************************/
  55. extern unsigned char __CODE FontSongTi8x16[];
  56. #endif
  57. # ifdef SongTiY8x16
  58. extern unsigned char __CODE FontSongTiY8x16[];
  59. #endif
  60. #endif /* __OLED_FONT_ATY_H */