#include <stdio.h>
#include <stm32f10x.h>
#define RS_0 (GPIOA->BRR = GPIO_BRR_B...
巨大八爪鱼 3-5 巨大八爪鱼 (点击/回复: 832/0)
 
/* LCD1602引脚2(VDD)必须接5V电压, 不可以接3.3V电压。其他引脚(包括引脚15-背光电源正)都可以接3.3V电压 */
/* 必须把J-Link设为不供电(更改内部跳线),...
巨大八爪鱼 3-5 巨大八爪鱼 (点击/回复: 871/2)
 
#include <stm32f10x.h>
void delay(void)
{
    uint32_t i;...
巨大八爪鱼 3-5 巨大八爪鱼 (点击/回复: 686/1)
 
#include <stm32f10x.h>
#define _BV(n) (1 << (n))
#define CS_0 (GPIOA->BRR = GPI...
巨大八爪鱼 2-28 巨大八爪鱼 (点击/回复: 965/4)
 
巨大八爪鱼 2-26 巨大八爪鱼 (点击/回复: 842/2)
 
/* 93C46选默认的16位模式 */
#include <stm32f10x.h>
#define _BV(n) (1 << (n))
#define C...
巨大八爪鱼 2-25 巨大八爪鱼 (点击/回复: 698/0)
 
/* 93C46选默认的16位模式,但SPI总线上每次发送/接收8位数据 */
#include <stm32f10x.h>
#define _BV(n) (1 <...
巨大八爪鱼 2-24 巨大八爪鱼 (点击/回复: 919/2)
 
#include <stm32f10x.h>
void delay(void)
{
    uint32_t i;...
巨大八爪鱼 2-20 巨大八爪鱼 (点击/回复: 775/2)
 
#include <stm32f10x.h>
#include <string.h>
#define _BV(n) (1 << (n))
uint...
巨大八爪鱼 1-16 巨大八爪鱼 (点击/回复: 845/3)
 
#include <stm32f10x.h>
#define _BV(n) (1 << (n))
uint8_t num[2] = {0, 0}; // 数码管两侧...
巨大八爪鱼 1-16 巨大八爪鱼 (点击/回复: 720/1)
 
所在的文件夹是STM32F4xx_DSP_StdPeriph_Lib_V1.8.0/Project/STM32F4xx_StdPeriph_Examples/DCMI/DCMI_CameraExamp...
巨大八爪鱼 1-16 巨大八爪鱼 (点击/回复: 669/0)
 
【程序运行效果】
巨大八爪鱼 1-16 巨大八爪鱼 (点击/回复: 954/3)
 
【示例1:高优先级中断屏蔽并清除低优先级中断】
#include <stm32f10x.h>
#define _BV(n) (1 << (n))
uint16...
巨大八爪鱼 1-15 巨大八爪鱼 (点击/回复: 933/6)
 
每1位16进制数表示一个I/O端口。
1为10MHz推挽输出(推挽输出适合直接驱动)(复用为9)
2为2MHz推挽输出(复用为a)
3为50MHz推挽输出(复用为b)
5为10...
巨大八爪鱼 1-15 巨大八爪鱼 (点击/回复: 995/4)
 
#include <stm32f10x.h>
#define _BV(n) (1 << (n))
uint8_t seg8[] = {0xc0, 0xf9, 0xa...
巨大八爪鱼 1-14 巨大八爪鱼 (点击/回复: 870/5)
本吧共有主题数91个,帖子数413篇,会员0位。

内容转换:

发表帖子

标题:
内容:
用户名: 您目前是匿名发表
验证码:
©2010-2025 Arslanbar [手机版] [桌面版]
除非另有声明,本站采用知识共享署名-相同方式共享 3.0 Unported许可协议进行许可。