代码搜索:Digit
找到约 4,689 项符合「Digit」的源代码
代码结果 4,689
www.eeworm.com/read/316776/13517921
txt clockcode.txt
程序源代码
全部的程序将分为3部分,分别是头文件和变量的定义、主程序MAIN()以及各个功能子函数。
//定义头文件和各个输入管脚以及变量声明
#include
#include
#define unit unsigned inf
#define uchar unsigned char
/* 定义字型字位口 */
#define
www.eeworm.com/read/315460/13542154
c digitsum.c
/*
* File: digitsum.c
* ----------------
* This program sums the digits in a positive integer.
* The program depends on the fact that the last digit of
* a integer n is given by n % 10 and the nu
www.eeworm.com/read/312649/13606952
c lex.c
#include "c.h"
#include
#include
static char rcsid[] = "$Id: lex.c,v 1.1 2002/08/28 23:12:44 drh Exp $";
#define MAXTOKEN 32
enum { BLANK=01, NEWLINE=02, LETTER=04,
www.eeworm.com/read/310181/13656835
c test44x_lcd02.c
//******************************************************************************
// MSP-FET430P440 Demo - LCD, displays numbers on static LCD
//
// Description "FET440_staticLCD.C": This program
www.eeworm.com/read/310180/13656893
c test44x_lcd02.c
#include "msp430x44x.h"
// variable declaration //
unsigned int value = 1789; // number to display, range = 0 - 1999 = max display
// NOTE: DO NOT use leading zeros
www.eeworm.com/read/310180/13656895
c test44x_lcd01.c
#include
char digit[10] = {
0xB7, /* "0" LCD segments a+b+c+d+e+f */
0x12, /* "1" */
0x8F, /* "2" */
0x1F, /* "3" */
0x3A, /* "4" */
0x3D, /* "5" */
0xBD, /* "6" *
www.eeworm.com/read/310180/13656898
c test44x_lcd03.c
#include "msp430x44x.h"
char digit[10] = {
0xB7, // "0" LCD segments a+b+c+d+e+f
0x12, // "1"
0x8F, // "2"
0x1F, // "3"
0x3A, // "4"
0x3D, // "5"
0xBD, // "6"
0x13, // "
www.eeworm.com/read/309532/13669533
c main.c
#include
void DISP(unsigned char Seg[])
{ unsigned char m=0;
P5SEL=0x0A; //p5.1 p5.3为外围模式
P5DIR |=0x0A; //p5.1 p5.3为输出模式
U1CTL=CHAR+SYNC+MM+SWRST; //设置 8字节 ISP主机模式
U1
www.eeworm.com/read/308089/13708709
c fet410_lcd02.c
//******************************************************************************
// MSP-FET430P410 Demo - LCD, displays numbers on static LCD
//
// Description "FET410_staticLCD.C": This program
www.eeworm.com/read/152661/5671924
c inet_addr.c
//==========================================================================
//
// net/inet_addr.c
//
// Stand-alone IP address parsing for RedBoot
//
//=====================================