| Clicks |
Replies |
Title |
Author |
Last Reply |
| 1062 |
0 |
#include <stdio.h> #include <stm32f10x.h> #define RS_0 (GPIOA->BRR = GPIO_BRR_B...
|
巨大八爪鱼 |
3/5 巨大八爪鱼 |
| 1128 |
2 |
/* LCD1602引腳2(VDD)必須接5V電壓, 不可以接3.3V電壓。其他引腳(包括引腳15-背光電源正)都可以接3.3V電壓 */ /* 必須把J-Link設為不供電(更改內部跳線),...
|
巨大八爪鱼 |
3/5 巨大八爪鱼 |
| 986 |
1 |
#include <stm32f10x.h> void delay(void) { uint32_t i;...
|
巨大八爪鱼 |
3/5 巨大八爪鱼 |
| 1139 |
4 |
#include <stm32f10x.h> #define _BV(n) (1 << (n)) #define CS_0 (GPIOA->BRR = GPI...
|
巨大八爪鱼 |
2/28 巨大八爪鱼 |
| 1025 |
2 |
|
巨大八爪鱼 |
2/26 巨大八爪鱼 |
| 960 |
0 |
/* 93C46選默認的16位模式 */ #include <stm32f10x.h> #define _BV(n) (1 << (n)) #define C...
|
巨大八爪鱼 |
2/25 巨大八爪鱼 |
| 1208 |
2 |
/* 93C46選默認的16位模式,但SPI總線上每次發送/接收8位數據 */ #include <stm32f10x.h> #define _BV(n) (1 <...
|
巨大八爪鱼 |
2/24 巨大八爪鱼 |
| 1045 |
2 |
#include <stm32f10x.h> void delay(void) { uint32_t i;...
|
巨大八爪鱼 |
2/20 巨大八爪鱼 |
| 1079 |
3 |
#include <stm32f10x.h> #include <string.h> #define _BV(n) (1 << (n)) uint...
|
巨大八爪鱼 |
1/16 巨大八爪鱼 |
| 929 |
1 |
#include <stm32f10x.h> #define _BV(n) (1 << (n)) uint8_t num[2] = {0, 0}; // 數碼管兩側...
|
巨大八爪鱼 |
1/16 巨大八爪鱼 |
| 895 |
0 |
所在的文件夾是STM32F4xx_DSP_StdPeriph_Lib_V1.8.0/Project/STM32F4xx_StdPeriph_Examples/DCMI/DCMI_CameraExamp...
|
巨大八爪鱼 |
1/16 巨大八爪鱼 |
| 1212 |
3 |
【程序運行效果】 
|
巨大八爪鱼 |
1/16 巨大八爪鱼 |
| 1074 |
6 |
【示例1:高優先級中斷屏蔽並清除低優先級中斷】 #include <stm32f10x.h> #define _BV(n) (1 << (n)) uint16...
|
巨大八爪鱼 |
1/15 巨大八爪鱼 |
| 1123 |
4 |
每1位16進位數表示一個I/O埠。 1為10MHz推輓輸出(推輓輸出適合直接驅動)(復用為9) 2為2MHz推輓輸出(復用為a) 3為50MHz推輓輸出(復用為b) 5為10M...
|
巨大八爪鱼 |
1/15 巨大八爪鱼 |
| 1089 |
5 |
#include <stm32f10x.h> #define _BV(n) (1 << (n)) uint8_t seg8[] = {0xc0, 0xf9, 0xa...
|
巨大八爪鱼 |
1/14 巨大八爪鱼 |
| 1072 |
8 |
#include <stm32f10x.h> #define _BV(n) (1 << (n)) #define SCL_1 GPIOB->BSRR = _B...
|
巨大八爪鱼 |
1/13 巨大八爪鱼 |
| 1106 |
4 |
#include <stm32f10x.h> #define _BV(n) (1 << (n)) uint8_t n = 0; uint8_t seg8[]...
|
巨大八爪鱼 |
1/11 巨大八爪鱼 |
| 1141 |
5 |
#include <stm32f10x.h> #define _BV(n) (1 << (n)) uint8_t n = 0; uint8_t seg8[]...
|
巨大八爪鱼 |
1/11 巨大八爪鱼 |
| 983 |
3 |
【程序】 #include <stm32f10x.h> #define _BV(n) (1 << (n)) uint8_t i = 0; uint8_t...
|
巨大八爪鱼 |
1/10 巨大八爪鱼 |
| 1135 |
9 |
#include <stm32f10x.h> #define _BV(n) (1 << (n)) void delay(void) {...
|
巨大八爪鱼 |
1/10 巨大八爪鱼 |
| 776 |
0 |
#include <stm32f10x.h> #define _BV(n) (1 << (n)) uint8_t cnt = 0; // 匹配計數 uint8...
|
巨大八爪鱼 |
1/9 巨大八爪鱼 |
| 755 |
1 |
#include <stm32f10x.h> #define _BV(n) (1 << (n)) uint32_t data; uint8_t seg8[]...
|
巨大八爪鱼 |
1/8 巨大八爪鱼 |
| 865 |
1 |
#include <stm32f10x.h> #define _BV(n) (1 << (n)) uint8_t seg8[] = {0xc0, 0xf9, 0xa...
|
巨大八爪鱼 |
12/30 巨大八爪鱼 |
| 987 |
3 |
#include <stm32f10x.h> #define _BV(n) (1 << (n)) uint8_t seg8[] = {0xc0, 0xf9, 0xa...
|
巨大八爪鱼 |
12/30 巨大八爪鱼 |
| 959 |
6 |
#include <stm32f10x.h> #define _BV(n) (1 << (n)) uint8_t num = 0; uint8_t s...
|
巨大八爪鱼 |
12/19 巨大八爪鱼 |
| 1340 |
9 |
|
巨大八爪鱼 |
11/22 巨大八爪鱼 |
| 1066 |
1 |
首先點擊菜單欄中的Options -> Project settings...命令,在Production選項卡中的Actions performed by "Production Progra... 
|
巨大八爪鱼 |
11/21 巨大八爪鱼 |
| 1897 |
10 |
【1】下載安裝Keil uVision5 MDK-ARM。 打開網站:http://www.keil.com/ 選擇MDK-ARM,填寫個人註冊信息後可下載,然後安裝。 (四個可以同...  
|
巨大八爪鱼 |
10/3 巨大八爪鱼 |
| 1251 |
1 |
地址:http://www.st.com/content/st_com/en/products/microcontrollers/stm32-32-bit-arm-cortex-mcus/st... 
|
巨大八爪鱼 |
9/27 巨大八爪鱼 |
| 817 |
2 |
|
巨大八爪鱼 |
7/3 巨大八爪鱼 |
| 978 |
7 |
讀取屏幕上寫入的內容以及光標的位置。 
|
巨大八爪鱼 |
7/3 巨大八爪鱼 |
| 972 |
6 |
|
巨大八爪鱼 |
7/1 巨大八爪鱼 |
| 981 |
3 |
【main.c】 #include <stm32f10x.h> int main(void) { GPIO_InitTypeD...
|
巨大八爪鱼 |
7/1 巨大八爪鱼 |
| 895 |
3 |
線反轉法也是識別閉合鍵的一種常用方法,該法比行掃描速度快。 先將行線作為輸出線,列線作為輸入線,行線輸出全0信號,讀入列線的值,那麼在閉合鍵所在的列線上的值必為0;然後從列線輸出全0信號,再讀取... 
|
巨大八爪鱼 |
7/1 巨大八爪鱼 |
| 1043 |
7 |
【接線】 
|
巨大八爪鱼 |
7/1 巨大八爪鱼 |
| 981 |
4 |
默認情況下,由於JTAG沒有關閉,因此PB3~4不能作為普通I/O口使用。此外,為了用串口方式下載程序,還需在STM32轉接板上插上BOOT1的跳線(綠色轉接板的左上角),這更是導致了PB2~...
|
巨大八爪鱼 |
6/30 巨大八爪鱼 |
| 934 |
4 |
|
巨大八爪鱼 |
6/30 巨大八爪鱼 |
| 1071 |
7 |
【電路】 
|
巨大八爪鱼 |
6/30 巨大八爪鱼 |
| 974 |
1 |
MDK-ARM 使用中一直有個很糾結的問題,中文字符支持不好。 比如寫代碼注釋,使用中文刪除字符就會只刪除一半問題。複製粘貼代碼中間有中文就會出現亂碼問題。 想過換IAR,新學個I... 
|
巨大八爪鱼 |
6/30 巨大八爪鱼 |
| 935 |
1 |
本吧簡介 [Picture]
|
巨大八爪鱼 |
6/30 巨大八爪鱼 |
| 874 |
0 |
#include <stm32f10x.h> void delay(void) { uint32_t i; for (i = 0; i...
|
巨大八爪鱼 |
6/30 巨大八爪鱼 |
| 1011 |
3 |
【接線】 
|
巨大八爪鱼 |
6/30 巨大八爪鱼 |
| 1043 |
5 |
【症狀】 HTML幫助文件: 雙擊打開後無法顯示其內容:  
|
巨大八爪鱼 |
6/30 巨大八爪鱼 |
| 864 |
2 |
關於如何新建使用標準固件庫的工程,請參閱:https://zh.arslanbar.net/post.php?t=24015 【程序代碼——main.c】 #include <stm...
|
巨大八爪鱼 |
5/14 巨大八爪鱼 |
| 823 |
0 |
#include <stm32f10x.h> #define _BV(n) (1 << (n)) uint8_t segdisp[] = {0xc0, 0xf9,...
|
巨大八爪鱼 |
5/14 巨大八爪鱼 |
| 827 |
1 |
#include <stm32f10x.h> #define _BV(n) (1 << (n)) uint8_t segdisp[] = {0xc0, 0xf9,...
|
巨大八爪鱼 |
5/14 巨大八爪鱼 |
| 926 |
2 |
【代碼】 #include <stm32f10x.h> #define _BV(n) (1 << (n)) uint32_t n = 12345678;...
|
巨大八爪鱼 |
5/14 巨大八爪鱼 |
| 924 |
2 |
在STM32中也可以像C51和AVR那樣直接讀取和操作I/O口。 其中,GPIOx->ODR幾乎完全等價於C51中的Px和AVR中的PORTx,GPIOx->IDR則等價於AVR中的...
|
巨大八爪鱼 |
5/14 巨大八爪鱼 |
| 856 |
2 |
拿掉流水燈下面74HC165右邊的跳線帽即可。(如圖所示) 就是因為這個併入串出鎖存器影響了PA7口的正常功能。。。。 
|
巨大八爪鱼 |
5/13 巨大八爪鱼 |
| 1698 |
13 |
標準庫的下載請參閱:https://zh.arslanbar.net/post.php?t=24014 新建工程的步驟請參閱: http://jingyan.baidu.com/album... 
|
巨大八爪鱼 |
5/13 巨大八爪鱼 |