| 點擊 |
回復 |
標題 |
作者 |
最後回復 |
| 1082 |
0 |
/* 本程序使用的是锐志电子六合一扩展板上的数字旋转编码开关 */ /* 注意:一定要把板子下面的JPBMA和JPBMB跳线插上 */ #include <stm32f10x.h...
|
巨大八爪鱼 |
3-15 巨大八爪鱼 |
| 1236 |
2 |
#include <stdio.h> #include <stm32f10x.h> #define RS_0 (GPIOA->BRR = GPIO_BRR_B...
|
巨大八爪鱼 |
3-11 巨大八爪鱼 |
| 1186 |
4 |
#include <stdio.h> #include <stm32f10x.h> #define RS_0 (GPIOA->BRR = GPIO_BRR_B...
|
巨大八爪鱼 |
3-6 巨大八爪鱼 |
| 1125 |
0 |
#include <stdio.h> #include <stm32f10x.h> #define RS_0 (GPIOA->BRR = GPIO_BRR_B...
|
巨大八爪鱼 |
3-5 巨大八爪鱼 |
| 1177 |
2 |
/* LCD1602引脚2(VDD)必须接5V电压, 不可以接3.3V电压。其他引脚(包括引脚15-背光电源正)都可以接3.3V电压 */ /* 必须把J-Link设为不供电(更改内部跳线),...
|
巨大八爪鱼 |
3-5 巨大八爪鱼 |
| 1034 |
1 |
#include <stm32f10x.h> void delay(void) { uint32_t i;...
|
巨大八爪鱼 |
3-5 巨大八爪鱼 |
| 1197 |
4 |
#include <stm32f10x.h> #define _BV(n) (1 << (n)) #define CS_0 (GPIOA->BRR = GPI...
|
巨大八爪鱼 |
2-28 巨大八爪鱼 |
| 1085 |
2 |
|
巨大八爪鱼 |
2-26 巨大八爪鱼 |
| 991 |
0 |
/* 93C46选默认的16位模式 */ #include <stm32f10x.h> #define _BV(n) (1 << (n)) #define C...
|
巨大八爪鱼 |
2-25 巨大八爪鱼 |
| 1269 |
2 |
/* 93C46选默认的16位模式,但SPI总线上每次发送/接收8位数据 */ #include <stm32f10x.h> #define _BV(n) (1 <...
|
巨大八爪鱼 |
2-24 巨大八爪鱼 |
| 1082 |
2 |
#include <stm32f10x.h> void delay(void) { uint32_t i;...
|
巨大八爪鱼 |
2-20 巨大八爪鱼 |
| 1132 |
3 |
#include <stm32f10x.h> #include <string.h> #define _BV(n) (1 << (n)) uint...
|
巨大八爪鱼 |
1-16 巨大八爪鱼 |
| 991 |
1 |
#include <stm32f10x.h> #define _BV(n) (1 << (n)) uint8_t num[2] = {0, 0}; // 数码管两侧...
|
巨大八爪鱼 |
1-16 巨大八爪鱼 |
| 951 |
0 |
所在的文件夹是STM32F4xx_DSP_StdPeriph_Lib_V1.8.0/Project/STM32F4xx_StdPeriph_Examples/DCMI/DCMI_CameraExamp...
|
巨大八爪鱼 |
1-16 巨大八爪鱼 |
| 1282 |
3 |
【程序运行效果】 
|
巨大八爪鱼 |
1-16 巨大八爪鱼 |
| 1134 |
6 |
【示例1:高优先级中断屏蔽并清除低优先级中断】 #include <stm32f10x.h> #define _BV(n) (1 << (n)) uint16...
|
巨大八爪鱼 |
1-15 巨大八爪鱼 |
| 1169 |
4 |
每1位16进制数表示一个I/O端口。 1为10MHz推挽输出(推挽输出适合直接驱动)(复用为9) 2为2MHz推挽输出(复用为a) 3为50MHz推挽输出(复用为b) 5为10...
|
巨大八爪鱼 |
1-15 巨大八爪鱼 |
| 1151 |
5 |
#include <stm32f10x.h> #define _BV(n) (1 << (n)) uint8_t seg8[] = {0xc0, 0xf9, 0xa...
|
巨大八爪鱼 |
1-14 巨大八爪鱼 |
| 1140 |
8 |
#include <stm32f10x.h> #define _BV(n) (1 << (n)) #define SCL_1 GPIOB->BSRR = _B...
|
巨大八爪鱼 |
1-13 巨大八爪鱼 |
| 1157 |
4 |
#include <stm32f10x.h> #define _BV(n) (1 << (n)) uint8_t n = 0; uint8_t seg8[]...
|
巨大八爪鱼 |
1-11 巨大八爪鱼 |
| 1185 |
5 |
#include <stm32f10x.h> #define _BV(n) (1 << (n)) uint8_t n = 0; uint8_t seg8[]...
|
巨大八爪鱼 |
1-11 巨大八爪鱼 |
| 1041 |
3 |
【程序】 #include <stm32f10x.h> #define _BV(n) (1 << (n)) uint8_t i = 0; uint8_t...
|
巨大八爪鱼 |
1-10 巨大八爪鱼 |
| 1178 |
9 |
#include <stm32f10x.h> #define _BV(n) (1 << (n)) void delay(void) {...
|
巨大八爪鱼 |
1-10 巨大八爪鱼 |
| 839 |
0 |
#include <stm32f10x.h> #define _BV(n) (1 << (n)) uint8_t cnt = 0; // 匹配计数 uint8...
|
巨大八爪鱼 |
1-9 巨大八爪鱼 |
| 829 |
1 |
#include <stm32f10x.h> #define _BV(n) (1 << (n)) uint32_t data; uint8_t seg8[]...
|
巨大八爪鱼 |
1-8 巨大八爪鱼 |
| 929 |
1 |
#include <stm32f10x.h> #define _BV(n) (1 << (n)) uint8_t seg8[] = {0xc0, 0xf9, 0xa...
|
巨大八爪鱼 |
12-30 巨大八爪鱼 |
| 1040 |
3 |
#include <stm32f10x.h> #define _BV(n) (1 << (n)) uint8_t seg8[] = {0xc0, 0xf9, 0xa...
|
巨大八爪鱼 |
12-30 巨大八爪鱼 |
| 1005 |
6 |
#include <stm32f10x.h> #define _BV(n) (1 << (n)) uint8_t num = 0; uint8_t s...
|
巨大八爪鱼 |
12-19 巨大八爪鱼 |
| 1403 |
9 |
|
巨大八爪鱼 |
11-22 巨大八爪鱼 |
| 1111 |
1 |
首先点击菜单栏中的Options -> Project settings...命令,在Production选项卡中的Actions performed by "Production Progra... 
|
巨大八爪鱼 |
11-21 巨大八爪鱼 |
| 1982 |
10 |
【1】下载安装Keil uVision5 MDK-ARM。 打开网站:http://www.keil.com/ 选择MDK-ARM,填写个人注册信息后可下载,然后安装。 (四个可以同...  
|
巨大八爪鱼 |
10-3 巨大八爪鱼 |
| 1320 |
1 |
地址:http://www.st.com/content/st_com/en/products/microcontrollers/stm32-32-bit-arm-cortex-mcus/st... 
|
巨大八爪鱼 |
9-27 巨大八爪鱼 |
| 857 |
2 |
|
巨大八爪鱼 |
7-3 巨大八爪鱼 |
| 1026 |
7 |
讀取屏幕上寫入的內容以及光標的位置。 
|
巨大八爪鱼 |
7-3 巨大八爪鱼 |
| 1010 |
6 |
|
巨大八爪鱼 |
7-1 巨大八爪鱼 |
| 1018 |
3 |
【main.c】 #include <stm32f10x.h> int main(void) { GPIO_InitTypeD...
|
巨大八爪鱼 |
7-1 巨大八爪鱼 |
| 951 |
3 |
线反转法也是识别闭合键的一种常用方法,该法比行扫描速度快。 先将行线作为输出线,列线作为输入线,行线输出全0信号,读入列线的值,那么在闭合键所在的列线上的值必为0;然后从列线输出全0信号,再读取... 
|
巨大八爪鱼 |
7-1 巨大八爪鱼 |
| 1113 |
7 |
【接线】 
|
巨大八爪鱼 |
7-1 巨大八爪鱼 |
| 1031 |
4 |
默认情况下,由于JTAG没有关闭,因此PB3~4不能作为普通I/O口使用。此外,为了用串口方式下载程序,还需在STM32转接板上插上BOOT1的跳线(绿色转接板的左上角),这更是导致了PB2~...
|
巨大八爪鱼 |
6-30 巨大八爪鱼 |
| 970 |
4 |
|
巨大八爪鱼 |
6-30 巨大八爪鱼 |
| 1125 |
7 |
【电路】 
|
巨大八爪鱼 |
6-30 巨大八爪鱼 |
| 1026 |
1 |
MDK-ARM 使用中一直有个很纠结的问题,中文字符支持不好。 比如写代码注释,使用中文删除字符就会只删除一半问题。复制粘贴代码中间有中文就会出现乱码问题。 想过换IAR,新学个I... 
|
巨大八爪鱼 |
6-30 巨大八爪鱼 |
| 984 |
1 |
|
巨大八爪鱼 |
6-30 巨大八爪鱼 |
| 929 |
0 |
#include <stm32f10x.h> void delay(void) { uint32_t i; for (i = 0; i...
|
巨大八爪鱼 |
6-30 巨大八爪鱼 |
| 1070 |
3 |
【接线】 
|
巨大八爪鱼 |
6-30 巨大八爪鱼 |
| 1112 |
5 |
【症状】 HTML帮助文件: 双击打开后无法显示其内容:  
|
巨大八爪鱼 |
6-30 巨大八爪鱼 |
| 920 |
2 |
关于如何新建使用标准固件库的工程,请参阅:https://zh.arslanbar.net/post.php?t=24015 【程序代码——main.c】 #include <stm...
|
巨大八爪鱼 |
5-14 巨大八爪鱼 |
| 868 |
0 |
#include <stm32f10x.h> #define _BV(n) (1 << (n)) uint8_t segdisp[] = {0xc0, 0xf9,...
|
巨大八爪鱼 |
5-14 巨大八爪鱼 |
| 878 |
1 |
#include <stm32f10x.h> #define _BV(n) (1 << (n)) uint8_t segdisp[] = {0xc0, 0xf9,...
|
巨大八爪鱼 |
5-14 巨大八爪鱼 |
| 981 |
2 |
【代码】 #include <stm32f10x.h> #define _BV(n) (1 << (n)) uint32_t n = 12345678;...
|
巨大八爪鱼 |
5-14 巨大八爪鱼 |