微波EDA网,见证研发工程师的成长!
首页 > 硬件设计 > 嵌入式设计 > ATmega16L驱动ILI9325/9328

ATmega16L驱动ILI9325/9328

时间:11-20 来源:互联网 点击:

  1. 0x42,0x42,0x42,0x42,0x3C,0x00,0x00},/*"o",79*/
  2. {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xD8,0x64,0x42,0x42,0x42,0x44,0x78,0x40,0xE0},/*"p",80*/
  3. {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1E,0x22,0x42,0x42,0x42,0x22,0x1E,0x02,0x07},/*"q",81*/
  4. {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xEE,0x32,0x20,0x20,0x20,0x20,0xF8,0x00,0x00},/*"r",82*/
  5. {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x3E,0x42,0x40,0x3C,0x02,0x42,0x7C,0x00,0x00},/*"s",83*/
  6. {0x00,0x00,0x00,0x00,0x00,0x10,0x10,0x7C,0x10,0x10,0x10,0x10,0x10,0x0C,0x00,0x00},/*"t",84*/
  7. {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xC6,0x42,0x42,0x42,0x42,0x46,0x3B,0x00,0x00},/*"u",85*/
  8. {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xE7,0x42,0x24,0x24,0x28,0x10,0x10,0x00,0x00},/*"v",86*/
  9. {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xD7,0x92,0x92,0xAA,0xAA,0x44,0x44,0x00,0x00},/*"w",87*/
  10. {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x6E,0x24,0x18,0x18,0x18,0x24,0x76,0x00,0x00},/*"x",88*/
  11. {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xE7,0x42,0x24,0x24,0x28,0x18,0x10,0x10,0xE0},/*"y",89*/
  12. {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x7E,0x44,0x08,0x10,0x10,0x22,0x7E,0x00,0x00},/*"z",90*/
  13. {0x00,0x03,0x04,0x04,0x04,0x04,0x04,0x08,0x04,0x04,0x04,0x04,0x04,0x04,0x03,0x00},/*"{",91*/
  14. {0x00,0x00,0x00,0x00,0x00,0x00,0x18,0x18,0x00,0x00,0x00,0x00,0x18,0x18,0x00,0x00},/*":",92*/
  15. {0x00,0x60,0x10,0x10,0x10,0x10,0x10,0x08,0x10,0x10,0x10,0x10,0x10,0x10,0x60,0x00},/*"}",93*/
  16. {0x30,0x4C,0x43,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00},/*"~",94*/
  17. {0x00,0x1C,0x22,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00},/*"^",95*/
  18. };
  19. #endif
  20. /*********************************************************************************************************
  21. *EndOfFile*
  22. *********************************************************************************************************/

文件名: Delay.c,延时函数的实现

  1. /****************************************Copyright(c)**************************************************
  2. **SoutheastUniversity
  3. **--------------FileInfo-------------------------------------------------------------------------------
  4. **FileName:Delay.c
  5. **LastmodifiedDate:2012-03-23
  6. **LastVersion:1.0
  7. **Description:延时函数实现
  8. **------------------------------------------------------------------------------------------------------
  9. **CreatedBy:JianGe
  10. **Createddate:2012-03-23
  11. **Version:1.0
  12. **------------------------------------------------------------------------------------------------------*/
  13. #include"Delay.h"
  14. #include"Type.h"
  15. /*********************************************************************************************************
  16. **Functionname:Delay_nUS
  17. **Descriptions:延时n微秒
  18. **inputparameters:无
  19. **outputparameters:无
  20. **Returnedvalue:无
  21. *********************************************************************************************************/
  22. voidDelay_nUS(uint32n)
  23. {
  24. uint32i=0;
  25. for(i=0;i
  26. {
  27. DELAY_US;
  28. }
  29. }
  30. /*********************************************************************************************************
  31. **Functionname:Delay_MS
  32. **Descriptions:延时1毫秒
  33. **inputparameters:无
  34. **outputparameters:无
  35. **Returnedvalue:无
  36. *********************************************************************************************************/
  37. voidDelay_MS(void)
  38. {
  39. uint32i=0;
  40. for(i=0;i<1000;i++)
  41. {
  42. DELAY_US;
  43. }
  44. }
  45. /*********************************************************************************************************
  46. **Functionname:Delay_nMS
  47. **Descriptions:延时n毫秒
  48. **inputparameters:无
  49. **outputparameters:无
  50. **Returnedvalue:无
  51. *********************************************************************************************************/
  52. voidDelay_nMS(uint32n)
  53. {
  54. uint32i=0;
  55. for(i=0;i
  56. {
  57. Delay_MS();
  58. }
  59. }
  60. /**************************************************************************************

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top