根据MSP430对UART的操控计划

根据MSP430对UART的操控计划

基于MSP430对UART的控制方案-1 #include “msp430g2553.h”

2

3 typedef unsigned char uchar;

4 typedef unsigned int uint;

5

6 #define LED BIT0

7 #define TXD BIT1 // TXD on P1.1

8 #define RXD BIT2 // RXD on P1.2

9 #define POUT P1OUT

10

广告

AVR单片机对数码管的操控规划

AVR单片机对数码管的控制设计-#include

#include

#include

#include

#include

#define code PROGMEM

#define uchar unsigned char

#define uint unsigned int

code const ucharLED_7[16] = {0x28, 0x7E, 0xA2, 0x62, 0x74, 0x61, 0x21, 0x7A, 0x20, 0x60,0xff};//common of +

code const uchar position[8] = {0x7f,0xbf,0xdf,0xef,0xf7,0xfb,0xfd,0xfe};

51单片机串口检测程序(C言语代码)

51单片机串口检测程序(C言语代码)

#i nclude reg51_STC.H#define uchar unsigned char#define uint unsigned int//————————-

AVR 1-99秒1602启停显现

AVR 1-99秒1602启停显现

includeiom16h>includeintrinsicsh>defineucharunsignedchardefineuintunsignedintuintsec=0;秒变量uint

proteus 仿真AD5310程序。。10位DAC

#includeiom16v.h>#includemacros.h>#defineucharunsignedchar#defineuintunsignedintvoiddelay(uint

10s计时器

10s计时器

includedefineucharunsignedchardefineuintunsignedintvoiddelayms(uint);ucharnum;ucharcodetable[]={0xc0

联系我们

联系我们

在线咨询: QQ交谈

邮箱: kf@86ic.com

关注微信
微信扫一扫关注我们

微信扫一扫关注我们

返回顶部