利用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