| 点击 |
回复 |
标题 |
作者 |
最后回复 |
| 1191 |
2 |
将一个电阻和一个电容串联起来接地。最左边为电阻,电阻的最左端接单片机的PC1口,并设为输出。电阻和电容中间引出一根线,接到PC0口,设为输入。 最初PC1输出低电平,电容上没有电荷,PC0为低电...
|
巨大八爪鱼 |
4-4 巨大八爪鱼 |
| 1986 |
18 |
【实验时用到的程序】 #include <stm32f10x.h> const uint8_t seg8[] = {0xc0, 0xf9, 0xa4, 0xb0, 0x99,...
|
巨大八爪鱼 |
4-2 巨大八爪鱼 |
| 1307 |
3 |
#include <stm32f10x.h> uint8_t seg8[] = {0xc0, 0xf9, 0xa4, 0xb0, 0x99, 0x92, 0x82, 0xf8, 0x...
|
巨大八爪鱼 |
3-24 巨大八爪鱼 |
| 1228 |
5 |
#include <stm32f10x.h> uint8_t seg8[] = {0xc0, 0xf9, 0xa4, 0xb0, 0x99, 0x92, 0x82, 0xf8, 0x...
|
巨大八爪鱼 |
3-24 巨大八爪鱼 |
| 1178 |
1 |
#include <stm32f10x.h> uint8_t seg8[] = {0xc0, 0xf9, 0xa4, 0xb0, 0x99, 0x92, 0x82, 0xf8, 0x...
|
巨大八爪鱼 |
3-24 巨大八爪鱼 |
| 1183 |
0 |
#include <stdio.h> #include <string.h> #include <stm32f10x.h> #define BIT...
|
巨大八爪鱼 |
3-22 巨大八爪鱼 |
| 1332 |
7 |
|
巨大八爪鱼 |
3-17 巨大八爪鱼 |
| 1092 |
0 |
不能单独定义这两个函数的跳转,如 void SysTick_Handler(void) { OS_CPU_SysTickHandler();...
|
巨大八爪鱼 |
3-17 巨大八爪鱼 |
| 1200 |
0 |
/* 本程序使用的是锐志电子六合一扩展板上的数字旋转编码开关 */ /* 注意:一定要把板子下面的JPBMA和JPBMB跳线插上 */ #include <stm32f10x.h...
|
巨大八爪鱼 |
3-15 巨大八爪鱼 |
| 1366 |
2 |
#include <stdio.h> #include <stm32f10x.h> #define RS_0 (GPIOA->BRR = GPIO_BRR_B...
|
巨大八爪鱼 |
3-11 巨大八爪鱼 |
| 1308 |
4 |
#include <stdio.h> #include <stm32f10x.h> #define RS_0 (GPIOA->BRR = GPIO_BRR_B...
|
巨大八爪鱼 |
3-6 巨大八爪鱼 |
| 1263 |
0 |
#include <stdio.h> #include <stm32f10x.h> #define RS_0 (GPIOA->BRR = GPIO_BRR_B...
|
巨大八爪鱼 |
3-5 巨大八爪鱼 |
| 1298 |
2 |
/* LCD1602引脚2(VDD)必须接5V电压, 不可以接3.3V电压。其他引脚(包括引脚15-背光电源正)都可以接3.3V电压 */ /* 必须把J-Link设为不供电(更改内部跳线),...
|
巨大八爪鱼 |
3-5 巨大八爪鱼 |
| 1174 |
1 |
#include <stm32f10x.h> void delay(void) { uint32_t i;...
|
巨大八爪鱼 |
3-5 巨大八爪鱼 |
| 1339 |
4 |
#include <stm32f10x.h> #define _BV(n) (1 << (n)) #define CS_0 (GPIOA->BRR = GPI...
|
巨大八爪鱼 |
2-28 巨大八爪鱼 |
| 1238 |
2 |
|
巨大八爪鱼 |
2-26 巨大八爪鱼 |
| 1136 |
0 |
/* 93C46选默认的16位模式 */ #include <stm32f10x.h> #define _BV(n) (1 << (n)) #define C...
|
巨大八爪鱼 |
2-25 巨大八爪鱼 |
| 1413 |
2 |
/* 93C46选默认的16位模式,但SPI总线上每次发送/接收8位数据 */ #include <stm32f10x.h> #define _BV(n) (1 <...
|
巨大八爪鱼 |
2-24 巨大八爪鱼 |
| 1228 |
2 |
#include <stm32f10x.h> void delay(void) { uint32_t i;...
|
巨大八爪鱼 |
2-20 巨大八爪鱼 |
| 1238 |
3 |
#include <stm32f10x.h> #include <string.h> #define _BV(n) (1 << (n)) uint...
|
巨大八爪鱼 |
1-16 巨大八爪鱼 |
| 1160 |
1 |
#include <stm32f10x.h> #define _BV(n) (1 << (n)) uint8_t num[2] = {0, 0}; // 数码管两侧...
|
巨大八爪鱼 |
1-16 巨大八爪鱼 |
| 1087 |
0 |
所在的文件夹是STM32F4xx_DSP_StdPeriph_Lib_V1.8.0/Project/STM32F4xx_StdPeriph_Examples/DCMI/DCMI_CameraExamp...
|
巨大八爪鱼 |
1-16 巨大八爪鱼 |
| 1417 |
3 |
【程序运行效果】 
|
巨大八爪鱼 |
1-16 巨大八爪鱼 |
| 1292 |
6 |
【示例1:高优先级中断屏蔽并清除低优先级中断】 #include <stm32f10x.h> #define _BV(n) (1 << (n)) uint16...
|
巨大八爪鱼 |
1-15 巨大八爪鱼 |
| 1420 |
4 |
每1位16进制数表示一个I/O端口。 1为10MHz推挽输出(推挽输出适合直接驱动)(复用为9) 2为2MHz推挽输出(复用为a) 3为50MHz推挽输出(复用为b) 5为10...
|
巨大八爪鱼 |
1-15 巨大八爪鱼 |
| 1311 |
5 |
#include <stm32f10x.h> #define _BV(n) (1 << (n)) uint8_t seg8[] = {0xc0, 0xf9, 0xa...
|
巨大八爪鱼 |
1-14 巨大八爪鱼 |
| 1290 |
8 |
#include <stm32f10x.h> #define _BV(n) (1 << (n)) #define SCL_1 GPIOB->BSRR = _B...
|
巨大八爪鱼 |
1-13 巨大八爪鱼 |
| 1285 |
4 |
#include <stm32f10x.h> #define _BV(n) (1 << (n)) uint8_t n = 0; uint8_t seg8[]...
|
巨大八爪鱼 |
1-11 巨大八爪鱼 |
| 1333 |
5 |
#include <stm32f10x.h> #define _BV(n) (1 << (n)) uint8_t n = 0; uint8_t seg8[]...
|
巨大八爪鱼 |
1-11 巨大八爪鱼 |
| 1189 |
3 |
【程序】 #include <stm32f10x.h> #define _BV(n) (1 << (n)) uint8_t i = 0; uint8_t...
|
巨大八爪鱼 |
1-10 巨大八爪鱼 |
| 1342 |
9 |
#include <stm32f10x.h> #define _BV(n) (1 << (n)) void delay(void) {...
|
巨大八爪鱼 |
1-10 巨大八爪鱼 |
| 998 |
0 |
#include <stm32f10x.h> #define _BV(n) (1 << (n)) uint8_t cnt = 0; // 匹配计数 uint8...
|
巨大八爪鱼 |
1-9 巨大八爪鱼 |
| 977 |
1 |
#include <stm32f10x.h> #define _BV(n) (1 << (n)) uint32_t data; uint8_t seg8[]...
|
巨大八爪鱼 |
1-8 巨大八爪鱼 |
| 1064 |
1 |
#include <stm32f10x.h> #define _BV(n) (1 << (n)) uint8_t seg8[] = {0xc0, 0xf9, 0xa...
|
巨大八爪鱼 |
12-30 巨大八爪鱼 |
| 1199 |
3 |
#include <stm32f10x.h> #define _BV(n) (1 << (n)) uint8_t seg8[] = {0xc0, 0xf9, 0xa...
|
巨大八爪鱼 |
12-30 巨大八爪鱼 |
| 1157 |
6 |
#include <stm32f10x.h> #define _BV(n) (1 << (n)) uint8_t num = 0; uint8_t s...
|
巨大八爪鱼 |
12-19 巨大八爪鱼 |
| 1578 |
9 |
|
巨大八爪鱼 |
11-22 巨大八爪鱼 |
| 1274 |
1 |
首先点击菜单栏中的Options -> Project settings...命令,在Production选项卡中的Actions performed by "Production Progra... 
|
巨大八爪鱼 |
11-21 巨大八爪鱼 |
| 2280 |
10 |
【1】下载安装Keil uVision5 MDK-ARM。 打开网站:http://www.keil.com/ 选择MDK-ARM,填写个人注册信息后可下载,然后安装。 (四个可以同...  
|
巨大八爪鱼 |
10-3 巨大八爪鱼 |
| 1481 |
1 |
地址:http://www.st.com/content/st_com/en/products/microcontrollers/stm32-32-bit-arm-cortex-mcus/st... 
|
巨大八爪鱼 |
9-27 巨大八爪鱼 |
| 1027 |
2 |
|
巨大八爪鱼 |
7-3 巨大八爪鱼 |
| 1151 |
7 |
讀取屏幕上寫入的內容以及光標的位置。 
|
巨大八爪鱼 |
7-3 巨大八爪鱼 |
| 1174 |
6 |
|
巨大八爪鱼 |
7-1 巨大八爪鱼 |
| 1164 |
3 |
【main.c】 #include <stm32f10x.h> int main(void) { GPIO_InitTypeD...
|
巨大八爪鱼 |
7-1 巨大八爪鱼 |
| 1104 |
3 |
线反转法也是识别闭合键的一种常用方法,该法比行扫描速度快。 先将行线作为输出线,列线作为输入线,行线输出全0信号,读入列线的值,那么在闭合键所在的列线上的值必为0;然后从列线输出全0信号,再读取... 
|
巨大八爪鱼 |
7-1 巨大八爪鱼 |
| 1260 |
7 |
【接线】 
|
巨大八爪鱼 |
7-1 巨大八爪鱼 |
| 1196 |
4 |
默认情况下,由于JTAG没有关闭,因此PB3~4不能作为普通I/O口使用。此外,为了用串口方式下载程序,还需在STM32转接板上插上BOOT1的跳线(绿色转接板的左上角),这更是导致了PB2~...
|
巨大八爪鱼 |
6-30 巨大八爪鱼 |
| 1133 |
4 |
|
巨大八爪鱼 |
6-30 巨大八爪鱼 |
| 1301 |
7 |
【电路】 
|
巨大八爪鱼 |
6-30 巨大八爪鱼 |
| 1191 |
1 |
MDK-ARM 使用中一直有个很纠结的问题,中文字符支持不好。 比如写代码注释,使用中文删除字符就会只删除一半问题。复制粘贴代码中间有中文就会出现乱码问题。 想过换IAR,新学个I... 
|
巨大八爪鱼 |
6-30 巨大八爪鱼 |