利用framebuffer画小企鹅 Linux的framebuffer接口提供给用户访问显示设备的通用接口,通过mmap映射显示缓冲给用户,fb中我们设置什么值,将直接在屏幕上显示出来。本实验我们要利用framebuffer在屏幕上显示一个小企鹅,可以接读取bmp图片,设置framebuffer的值,或者利用INclude/linux/linux_logo.h文件(该文件已经定义好小企鹅的颜色和位置信息),设置framebuffer的值。本实验采用的是第二种方法。只要读取linux_logo.h中数组的值,进行相应的移位操作,将值赋给fb即可在屏幕上显示出小企鹅 。
标签: framebuffer Linux 接口 用户
上传时间: 2016-02-21
上传用户:黑漆漆
On Sunday, April 27, 2003, Fresno will celebrate Earth Day in downtown Fresno at Courthouse Park. The event will begin at noon. This year we will INclude music, speakers, and vendors, plus activities for children. Fresno Earth Day is recognized as the only Earth Day festival that happens in Fresno, and the largest in the Central Valley. The Fresno Earth Day Committee is a small group of environmental activists hoping to broaden the appeal of a better planet and environment. We are a non-profit organization whose fiscal fiduciary is the Fresno Center for Nonviolence.
标签: Fresno Courthouse celebrate downtown
上传时间: 2016-02-24
上传用户:cursor
I wrote this code early this year using ColdFire MCF5213 in codewarrior IDE. The LCD is STN B/W 320x240 dot matrix LCD. The code INclude 3 different fonts, and basic LCD driver. All original!
标签: this codewarrior ColdFire wrote
上传时间: 2013-12-20
上传用户:皇族传媒
数据结构(严慰敏)配套纯c代码实验十 typedef int InfoType // 定义其它数据项的类型 typedef int KeyType // 定义RedType类型的关键字为整型 struct RedType // 记录类型(同c10-1.h) { KeyType key // 关键字项 InfoType otherinfo // 其它数据项 } typedef char KeysType // 定义关键字类型为字符型 #INclude"c1.h" #INclude"c10-3.h" void InitList(SLList &L,RedType D[],int n) { // 初始化静态链表L(把数组D中的数据存于L中) char c[MAX_NUM_OF_KEY],c1[MAX_NUM_OF_KEY] int i,j,max=D[0].key //
标签: typedef int InfoType KeyType
上传时间: 2016-03-03
上传用户:2404
// algo3-12.cpp 银行业务模拟。实现算法3.6、3.7的程序 #define Qu 4 // 客户队列数 #define Khjg 5 // 两相邻到达的客户的时间间隔最大值 #define Blsj 30 // 每个客户办理业务的时间最大值 #INclude"c1.h" typedef struct // 定义ElemType为结构体类型 { int OccurTime // 事件发生时刻 int NType // 事件类型,Qu表示到达事件,0至Qu-1表示Qu个窗口的离开事件 }Event,ElemType // 事件类型,有序链表LinkList的数据元素类型
上传时间: 2016-03-03
上传用户:jcljkh
通用报表打印类使用说明 主要功能: 1 – 自动分页 2 – 自动划出纵横表格线 3 – 支持横向 / 纵向打印 4 – 支持打印输出或生成文本文件 使用方法: 1.Copy prt.h, prt.cpp --- > Project Path 2.Menu --- > Project --- > Add to project --- > files ( prt.h, prt.cpp ) 3.Menu --- > open --- > prt_demo.rc --- > Bitmap --- > IDB_PRT ( copy to current project ) 4.Menu --- > open --- > prt_demo.rc --- > Dialog --- > IDD_PRT ( copy to current project ) 5.Add: #INclude <prt.h> 6.Add member function : int GetRow(PRTROW *pRow) 7.Add code into OnPrt and GetRow
上传时间: 2014-02-11
上传用户:dongqiangqiang
nrf9E5串口通讯,要的功能,你的程序只要包括这样的语句: #INclude <chipcon/hal.h> #INclude <chipcon/cul.h> 你的软件就可以在这个库的高级的水平上开始工作,举例说明: 你需要发送一个包,包括序言,通讯标志,地址,数据,CRC效验等,你只需要下列两行语句,便全部完成了!
上传时间: 2016-03-10
上传用户:love_stanford
This packet is a IS-95 baseband simulation for 1 data channel of 9.6 KBps rate. The simulation is written for static channel and AWGN noise. The packet INclude: 1) Packet Builder (Viterbi Encoding, Interleaver, PN generation) 2) Modulator (RRC filter) 3) Demodulator (Matched Filter, RAKE receiver) 4) Receiver (HD or SD) (Deinterleaver, Viterbi Decoder).
标签: simulation baseband channel packet
上传时间: 2014-12-20
上传用户:ukuk
本项目是台湾宏芯7"TFT模拟显示屏的驱动设计,里面包括几乎所有厂家的7"TFT显示屏(主要是车载使用),查看支持的厂家请打开压缩包到\INclude\pannel下包含了支持的屏的头文件.开发编译环境是Keil7
上传时间: 2013-12-30
上传用户:ghostparker
三星lcd驱动,S6B0741,128X129FENBLV#ifndef _LCD_H_ #define _LCD_H_ #INclude "settings.h" #INclude "Battery.h" #INclude "EnDecode.h" #INclude "main.h"
上传时间: 2013-12-19
上传用户:tianyi223