#include "stm32f10x.h" #include "systick.h" #include "oled.h" /* * 函数名:main * 描述 : 主函数 * 输入 :无 * 输出 : 无 */ int main(void) { /* 设置系统时钟为72M */ SystemInit(); OLED_Init(); //初始化OLED LCD_P16x16Ch(32,7,0); //测 LCD_P16x16Ch(48,7,1); //试 LCD_P16x16Ch(64,7,2); //例 LCD_P16x16Ch(80,7,3); //程 LCD_P8x16Ch(16,5,9); //D LCD_P8x16Ch(24,5,10); //V LCD_P8x16Ch(32,5,11); //C LCD_P8x16Ch(40,5,11); //C LCD_P16x16Ch(48,5,4); //系 LCD_P16x16Ch(64,5,5); //列 LCD_P16x16Ch(80,5,6); //产 LCD_P16x16Ch(96,5,7); //品 LCD_P8x16Ch(16,3,0); //S LCD_P8x16Ch(24,3,1); //T LCD_P8x16Ch(32,3,2); //M LCD_P8x16Ch(40,3,3); //3 LCD_P8x16Ch(48,3,4); //2 LCD_P8x16Ch(56,3,5); //F LCD_P8x16Ch(64,3,6); //1 LCD_P8x16Ch(72,3,7); //0 LCD_P8x16Ch(80,3,8); //3 LCD_P8x16Ch(0,1,13); //L LCD_P8x16Ch(8,1,14); //E LCD_P8x16Ch(16,1,15); //A LCD_P8x16Ch(24,1,16); //R LCD_P8x16Ch(32,1,17); //N LCD_P8x16Ch(40,1,18); // LCD_P8x16Ch(48,1,19); //S LCD_P8x16Ch(56,1,20); //T LCD_P8x16Ch(64,1,21); //A LCD_P8x16Ch(72,1,22); //R LCD_P8x16Ch(80,1,23); //T LCD_P8x16Ch(88,1,24); //! LCD_P8x16Ch(96,1,24); //! LCD_P8x16Ch(104,1,24); //! while (1) { ; } }