| |
【程序運行效果】  |
| |
【示例1:高優先順序中斷屏蔽並清除低優先順序中斷】 #include <stm32f10x.h> #define _BV(n) (1 << (n)) uint... |
| |
每1位16進制數表示一個I/O埠。 1為10MHz推挽輸出(推挽輸出適合直接驅動)(復用為9) 2為2MHz推挽輸出(復用為a) 3為50MHz推挽輸出(復用為b) 5為10M... |
| |
#include <stm32f10x.h> #define _BV(n) (1 << (n)) uint8_t seg8[] = {0xc0, 0xf9, 0xa... |
| |
#include <stm32f10x.h> #define _BV(n) (1 << (n)) #define SCL_1 GPIOB->BSRR = _B... |
| |
RT |
| |
#include <stm32f10x.h> #define _BV(n) (1 << (n)) uint8_t n = 0; uint8_t seg8[]... |
| |
#include <stm32f10x.h> #define _BV(n) (1 << (n)) uint8_t n = 0; uint8_t seg8[]... |
| |
【程序】 #include <stm32f10x.h> #define _BV(n) (1 << (n)) uint8_t i = 0; uint8_t... |
| |
#include <stm32f10x.h> #define _BV(n) (1 << (n)) void delay(void) {... |
| |
#include <stm32f10x.h> #define _BV(n) (1 << (n)) uint8_t cnt = 0; // 匹配計數 uint8... |
| |
下小雨 |
| |
#include <stm32f10x.h> #define _BV(n) (1 << (n)) uint32_t data; uint8_t seg8[]... |
| |
【功能】 CLK按下時主觸發器工作,鬆開時從觸發器工作。 J=0, K=0保持 J=0, K=1置0 J=1, K=0置1 J=1, K=1翻轉 紅燈是1,...  |
| |
// 語言:C++ // 支持編譯為Unicode版本,不支持ANSI版本 #include <string> #include <tchar.h> #... |
|
| 全站共有主题数34687个,帖子数197768篇。 |