⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 testuser_main.c

📁 这是一个基于nec78f8024的led驱动程序
💻 C
字号:
/*
*******************************************************************************
**  COPYRIGHT (C) NEC Electronics Corporation 2008
**  NEC ELECTRONICS CONFIDENTIAL AND PROPRIETARY
**  All rights reserved by NEC Electronics Corporation.
**  Use of copyright notice does not evidence publication.
**
**  Filename :	user_main.c
**  Abstract :	This file implements the function of dimmer program and LED.
**
**  Device :	uPD78F8024
**
**  Compiler :	NEC/CC78K0
**
*******************************************************************************
*/

/*
*******************************************************************************
**  Include files
*******************************************************************************
*/
#include "testmacrodriver.h"
#include "testuser.h"
#include "testLED.h"
#include "testUART0.h"
#include "testUART6.h"
#include "testI2C.h"
#include "testSPI.h"
#include "testANI.h"
#include "testAUTO.h"
#include "testbianhua.h"


/*
*******************************************************************************
**  Function Prototype
*******************************************************************************
*/

void user_main( void )
{
	short ch1=ANI0_getValue( );
	short ch2=ANI0_getValue( );
	short ch3=ANI0_getValue( );
	short ch4=ANI0_getValue( );
    short ch5=bianhua_getValue( );

	LED1_set( 250 );
	LED2_set( 250 );
	LED3_set( 250 );
	LED4_set( 240 );
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -