嵌入式简易电子琴系统设计.docVIP

  • 172
  • 0
  • 约9.89万字
  • 约 21页
  • 2017-01-02 发布于贵州
  • 举报
嵌入式开发试验 嵌入式简易电子琴系统设计 ARM2110实验开发板,外接矩阵键盘、蜂鸣器、LED显示屏、LED灯模块(带4.7K电阻) 主程序 #include systemInit.h #include buzzer.h #include music.h #include systemInit.h #define lcden GPIO_PIN_0 //PB0; #define lcdrs GPIO_PIN_2 //PB2; // 定义LED #define LED1_PERIPH SYSCTL_PERIPH_GPIOA #define LED1_PORT GPIO_PORTA_BASE #define LED1_PIN GPIO_PIN_4 #define LED2_PERIPH SYSCTL_PERIPH_GPIOA #define LED2_PORT GPIO_PORTA_BASE #define LED2_PIN GPIO_PIN_5 #define LED3_PERIPH SYSCTL_PERIPH_GPIOA #define LED3_POR

文档评论(0)

1亿VIP精品文档

相关文档