摘要:
(26封未读) 网易邮箱6.0版 (163.com) 阅读全文
摘要:
exit.h #ifndef __EXTI_H #define __EXTI_H #include "stm32f4xx.h" void Exti_PA0_Init(void); #endif exit.c #include "exti.h" /*************************** 阅读全文
摘要:
delay.h #ifndef __DELAY_H #define __DELAY_H #include "stm32f4xx.h" void Delay_Init(void); void delay_us(int nus); void delay_ms(int nms); void delay_s 阅读全文
摘要:
有道云笔记 (youdao.com) https://note.youdao.com/web/#/file/B08C4488DA4C4616AAD6A4248B3AE52C/note/912450CACF0A41339C4D0EEC7762B9EC/ 阅读全文
摘要:
#include "stm32f4xx.h" 记得改为自己的芯片型号 #ifndef __SYS_H_ #define __SYS_H_ #include "stm32f4xx.h" //IO口操作宏定义 #define BITBAND(addr, bitnum) ((addr & 0xF00000 阅读全文
摘要:
TFTLCD引脚 RTOS CLK 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 F12 D4 D14 D0 E7 E9 E11 E13 E15 D9 GND 3.3V GND 5V F11 MO空 B0 G14 D5 G15 D15 D1 E8 E10 E12 阅读全文
摘要:
上课时看到老师写 u8 Spi1_Send_Recv_Byte(u8 txdata) { u8 rxdata = 0x00; u8 i; SCK = 0; for(i=0; i<8; i++) { //下降沿发数据 if(txdata & 1<<(7-i)) { MOSI = 1; } else { 阅读全文
摘要:
问题:发AT后可以接受但没回复 乱码,初始化超时 原因(解决方法):供电问题,USB转TTL供电容易出错(资料上说用干电池和LDO),开发板插座问题(我实践,老师角度方法跳线,CH_PD和VCC接3.3V或5V) 阅读全文