51单片机MAX7219程序编写与测试-#include“reg52.h”
#include “intrins.h”
#define byte unsigned char
//#define N_NOP _nop_();//_nop_();_nop_();
基于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
PIC单片机定时器0的应用-#include
#define uchar unsigned char
#define uint unsigned int
__CONFIG(0x3B31);
void init();
uint intnum;
void main()
{
init();
while(1)
{
sprintf((char*)d,打印日期:%d-%02d-%02d%02d:%02d:%02d,(int)SystemTime.year,(int)SystemTime.month,(int)Sys