摘要: 附上一小段代码: void LCD_init(void) { // 产生一个让LCD复位的低电平脉冲 //LCD_RST = 0; GPIO_WriteLow(LCD_PORTG, LCD_RST); delay_1us(); //LCD_RST = 1; GPIO_WriteHigh(LCD_PO 阅读全文
posted @ 2017-10-10 17:57 淡^_^如水 阅读(1204) 评论(0) 推荐(0) 编辑
摘要: 今天正式学习STM8,用的是风驰STM8S208R开发板。 在编译例程遇到了如下这样的问题。 “ #error clnk debug\stm8s_demo.lkf:47 can't open file crtsi.sm8#error clnk debug\stm8s_demo.lkf:65 can' 阅读全文
posted @ 2017-10-10 17:24 淡^_^如水 阅读(851) 评论(0) 推荐(0) 编辑
摘要: 刚调试程序时,STlink总是连不上,一直提示: Starting debug session...-> Emulator reset (usb://usb)...** Connection error (usb://usb): swim error [30200]: st-link connect 阅读全文
posted @ 2017-10-10 17:18 淡^_^如水 阅读(1774) 评论(0) 推荐(1) 编辑