|
点击 |
回复 |
标题 |
作者 |
最后回复 |
|
920 |
4 |
#include <stm32f10x.h> #define _BV(n) (1 << (n)) #define CS_0 (GPIOA->BRR = GPI... |
巨大八爪鱼 |
2-28 巨大八爪鱼 |
|
821 |
2 |
|
巨大八爪鱼 |
2-26 巨大八爪鱼 |
|
746 |
0 |
/* 93C46选默认的16位模式 */ #include <stm32f10x.h> #define _BV(n) (1 << (n)) #define C... |
巨大八爪鱼 |
2-25 巨大八爪鱼 |
|
988 |
2 |
/* 93C46选默认的16位模式,但SPI总线上每次发送/接收8位数据 */ #include <stm32f10x.h> #define _BV(n) (1 <... |
巨大八爪鱼 |
2-24 巨大八爪鱼 |
|
803 |
2 |
#include <stm32f10x.h> void delay(void) { uint32_t i;... |
巨大八爪鱼 |
2-20 巨大八爪鱼 |
|
862 |
3 |
#include <stm32f10x.h> #include <string.h> #define _BV(n) (1 << (n)) uint... |
巨大八爪鱼 |
1-16 巨大八爪鱼 |
|
707 |
1 |
#include <stm32f10x.h> #define _BV(n) (1 << (n)) uint8_t num[2] = {0, 0}; // 数码管两侧... |
巨大八爪鱼 |
1-16 巨大八爪鱼 |
|
688 |
0 |
所在的文件夹是STM32F4xx_DSP_StdPeriph_Lib_V1.8.0/Project/STM32F4xx_StdPeriph_Examples/DCMI/DCMI_CameraExamp... |
巨大八爪鱼 |
1-16 巨大八爪鱼 |
|
987 |
3 |
【程序运行效果】  |
巨大八爪鱼 |
1-16 巨大八爪鱼 |
|
847 |
6 |
【示例1:高优先级中断屏蔽并清除低优先级中断】 #include <stm32f10x.h> #define _BV(n) (1 << (n)) uint16... |
巨大八爪鱼 |
1-15 巨大八爪鱼 |
|
921 |
4 |
每1位16进制数表示一个I/O端口。 1为10MHz推挽输出(推挽输出适合直接驱动)(复用为9) 2为2MHz推挽输出(复用为a) 3为50MHz推挽输出(复用为b) 5为10... |
巨大八爪鱼 |
1-15 巨大八爪鱼 |
|
833 |
5 |
#include <stm32f10x.h> #define _BV(n) (1 << (n)) uint8_t seg8[] = {0xc0, 0xf9, 0xa... |
巨大八爪鱼 |
1-14 巨大八爪鱼 |
|
867 |
8 |
#include <stm32f10x.h> #define _BV(n) (1 << (n)) #define SCL_1 GPIOB->BSRR = _B... |
巨大八爪鱼 |
1-13 巨大八爪鱼 |
|
924 |
4 |
#include <stm32f10x.h> #define _BV(n) (1 << (n)) uint8_t n = 0; uint8_t seg8[]... |
巨大八爪鱼 |
1-11 巨大八爪鱼 |
|
919 |
5 |
#include <stm32f10x.h> #define _BV(n) (1 << (n)) uint8_t n = 0; uint8_t seg8[]... |
巨大八爪鱼 |
1-11 巨大八爪鱼 |
|
767 |
3 |
【程序】 #include <stm32f10x.h> #define _BV(n) (1 << (n)) uint8_t i = 0; uint8_t... |
巨大八爪鱼 |
1-10 巨大八爪鱼 |
|
875 |
9 |
#include <stm32f10x.h> #define _BV(n) (1 << (n)) void delay(void) {... |
巨大八爪鱼 |
1-10 巨大八爪鱼 |
|
609 |
0 |
#include <stm32f10x.h> #define _BV(n) (1 << (n)) uint8_t cnt = 0; // 匹配计数 uint8... |
巨大八爪鱼 |
1-9 巨大八爪鱼 |
|
519 |
1 |
#include <stm32f10x.h> #define _BV(n) (1 << (n)) uint32_t data; uint8_t seg8[]... |
巨大八爪鱼 |
1-8 巨大八爪鱼 |
|
639 |
1 |
#include <stm32f10x.h> #define _BV(n) (1 << (n)) uint8_t seg8[] = {0xc0, 0xf9, 0xa... |
巨大八爪鱼 |
12-30 巨大八爪鱼 |
|
737 |
3 |
#include <stm32f10x.h> #define _BV(n) (1 << (n)) uint8_t seg8[] = {0xc0, 0xf9, 0xa... |
巨大八爪鱼 |
12-30 巨大八爪鱼 |
|
700 |
6 |
#include <stm32f10x.h> #define _BV(n) (1 << (n)) uint8_t num = 0; uint8_t s... |
巨大八爪鱼 |
12-19 巨大八爪鱼 |
|
1084 |
9 |
|
巨大八爪鱼 |
11-22 巨大八爪鱼 |
|
852 |
1 |
首先点击菜单栏中的Options -> Project settings...命令,在Production选项卡中的Actions performed by "Production Progra...  |
巨大八爪鱼 |
11-21 巨大八爪鱼 |
|
1508 |
10 |
【1】下载安装Keil uVision5 MDK-ARM。 打开网站:http://www.keil.com/ 选择MDK-ARM,填写个人注册信息后可下载,然后安装。 (四个可以同...   |
巨大八爪鱼 |
10-3 巨大八爪鱼 |
|
1014 |
1 |
地址:http://www.st.com/content/st_com/en/products/microcontrollers/stm32-32-bit-arm-cortex-mcus/st...  |
巨大八爪鱼 |
9-27 巨大八爪鱼 |
|
601 |
2 |
|
巨大八爪鱼 |
7-3 巨大八爪鱼 |
|
760 |
7 |
讀取屏幕上寫入的內容以及光標的位置。  |
巨大八爪鱼 |
7-3 巨大八爪鱼 |
|
732 |
6 |
|
巨大八爪鱼 |
7-1 巨大八爪鱼 |
|
721 |
3 |
【main.c】 #include <stm32f10x.h> int main(void) { GPIO_InitTypeD... |
巨大八爪鱼 |
7-1 巨大八爪鱼 |
|
692 |
3 |
线反转法也是识别闭合键的一种常用方法,该法比行扫描速度快。 先将行线作为输出线,列线作为输入线,行线输出全0信号,读入列线的值,那么在闭合键所在的列线上的值必为0;然后从列线输出全0信号,再读取...  |
巨大八爪鱼 |
7-1 巨大八爪鱼 |
|
768 |
7 |
【接线】  |
巨大八爪鱼 |
7-1 巨大八爪鱼 |
|
789 |
4 |
默认情况下,由于JTAG没有关闭,因此PB3~4不能作为普通I/O口使用。此外,为了用串口方式下载程序,还需在STM32转接板上插上BOOT1的跳线(绿色转接板的左上角),这更是导致了PB2~... |
巨大八爪鱼 |
6-30 巨大八爪鱼 |
|
687 |
4 |
|
巨大八爪鱼 |
6-30 巨大八爪鱼 |
|
836 |
7 |
【电路】  |
巨大八爪鱼 |
6-30 巨大八爪鱼 |
|
735 |
1 |
MDK-ARM 使用中一直有个很纠结的问题,中文字符支持不好。 比如写代码注释,使用中文删除字符就会只删除一半问题。复制粘贴代码中间有中文就会出现乱码问题。 想过换IAR,新学个I...  |
巨大八爪鱼 |
6-30 巨大八爪鱼 |
|
750 |
1 |
|
巨大八爪鱼 |
6-30 巨大八爪鱼 |
|
626 |
0 |
#include <stm32f10x.h> void delay(void) { uint32_t i; for (i = 0; i... |
巨大八爪鱼 |
6-30 巨大八爪鱼 |
|
795 |
3 |
【接线】  |
巨大八爪鱼 |
6-30 巨大八爪鱼 |
|
805 |
5 |
【症状】 HTML帮助文件: 双击打开后无法显示其内容:   |
巨大八爪鱼 |
6-30 巨大八爪鱼 |
|
624 |
2 |
关于如何新建使用标准固件库的工程,请参阅:https://zh.arslanbar.net/post.php?t=24015 【程序代码——main.c】 #include <stm... |
巨大八爪鱼 |
5-14 巨大八爪鱼 |
|
603 |
0 |
#include <stm32f10x.h> #define _BV(n) (1 << (n)) uint8_t segdisp[] = {0xc0, 0xf9,... |
巨大八爪鱼 |
5-14 巨大八爪鱼 |
|
619 |
1 |
#include <stm32f10x.h> #define _BV(n) (1 << (n)) uint8_t segdisp[] = {0xc0, 0xf9,... |
巨大八爪鱼 |
5-14 巨大八爪鱼 |
|
658 |
2 |
【代码】 #include <stm32f10x.h> #define _BV(n) (1 << (n)) uint32_t n = 12345678;... |
巨大八爪鱼 |
5-14 巨大八爪鱼 |
|
694 |
2 |
在STM32中也可以像C51和AVR那样直接读取和操作I/O口。 其中,GPIOx->ODR几乎完全等价于C51中的Px和AVR中的PORTx,GPIOx->IDR则等价于AVR中的... |
巨大八爪鱼 |
5-14 巨大八爪鱼 |
|
621 |
2 |
拿掉流水灯下面74HC165右边的跳线帽即可。(如图所示) 就是因为这个并入串出锁存器影响了PA7口的正常功能。。。。  |
巨大八爪鱼 |
5-13 巨大八爪鱼 |
|
1336 |
13 |
标准库的下载请参阅:https://zh.arslanbar.net/post.php?t=24014 新建工程的步骤请参阅: http://jingyan.baidu.com/album...  |
巨大八爪鱼 |
5-13 巨大八爪鱼 |
|
915 |
3 |
http://www2.st.com/content/st_com/en/products/embedded-software/mcus-embedded-software/stm32-emb...  |
巨大八爪鱼 |
5-13 巨大八爪鱼 |
|
624 |
1 |
【程序】 #include <stm32f10x.h> #define _BV(n) (1 << (n)) uint8_t n = 0; uint8_t... |
巨大八爪鱼 |
4-23 巨大八爪鱼 |
|
581 |
1 |
【程序】 #include <stm32f10x.h> #define _BV(n) (1 << (n)) uint8_t n = 0; void de... |
巨大八爪鱼 |
4-23 巨大八爪鱼 |
|