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

📄 display1.c.bak

📁 MIPS的液晶显示原码,运行在ECLIPSE上,已通过测试.
💻 BAK
字号:
/*============================================================================
 *
 *      display1.c
 *
 *      
 *
 *==========================================================================*/
/*============================================================================
 * 
 * Copyright (c) 2002-2006 Innova Card.
 * All Rights Reserved.
 *
 * This software is the confidential and proprietary information of
 * Innova Card ("Confidential Information"). You shall not
 * disclose such Confidential Information and shall use it only in
 * accordance with the terms of the license agreement you entered
 * into with Innova Card.
 *
 * Innova Card makes no representations or warranties about the suitability of 
 * the software, either express or implied, including but not limited to 
 * the implied warranties of merchantability, fitness for a particular purpose, 
 * or non-infrigement. Innova Card shall not be liable for any damages suffered 
 * by licensee as the result of using, modifying or distributing this software 
 * or its derivatives.
 * 
 *==========================================================================*/
/*============================================================================
 * 
 * Author(s):    Innova Card 
 * Contributors:  
 * Date:          
 * Purpose:       
 * Description: This file containts an example of LCD application.
 * 
 *==========================================================================*/
#include <io/lcd_io.h>
#include <hal/usip/hal_gpio.h>

int main( void )
{
    HAL_GPIO_CONFIG params;

    params.size      = HAL_GPIO_SIZE_32 ;
    params.direction = 6;
   
    io_handle_t handle;
    
    /* Initialize the Toshiba LCD controller T6963C  */
    lcd_init("/dev/t6963c", &handle);
     
    /* Print a message */ 
    lcd_puts(handle, "Hello !");      
    
    return 0;
}

⌨️ 快捷键说明

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