| |
|
| |
/* 93C46选默认的16位模式 */ #include <stm32f10x.h> #define _BV(n) (1 << (n)) #define C... |
| |
/* 93C46选默认的16位模式,但SPI总线上每次发送/接收8位数据 */ #include <stm32f10x.h> #define _BV(n) (1 <... |
| |
void _93C46_WriteEnable(void) { // 开始 while ((SPI1-... |
| |
/* ORG悬空,选16位模式 */ #include <at89x52.h> #define _BV(n) (1 << (n)) sbit CS = P1^... |
| |
#include <at89x52.h> #define _BV(n) (1 << (n)) sbit PL = P3^0; // 置数端 sbit MR =... |
| |
Country Name Population GDP (US$) GDP per capita (US$) Gini Index Jackland 6,743,950 186,305,829,... |
| |
#include <stm32f10x.h> void delay(void) { uint32_t i;... |
| |
RT |
| |
rt |
| |
现在已经写完了130页的《渔夫阅读》 |
| |
rt |
| |
在窗口类的构造函数中加上: //获取程序目录 SetCurrentDirectory("C:\\"); //模拟开机启动 char ch[MAX_PA... |
| |
当计数值为9时,进位端为高电平。 明天还要实现用数码管显示出相应的数字,以及利用RC电路自动振荡。 |
| |
#define F_CPU 10000000UL // 晶振:10MHz(更低频率的晶振也是可以的,无需修改程序代码) #include <avr/io.h> #inc... |
|
| 全站共有主题数34687个,帖子数197768篇。 |