freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

基于qt的多媒體車載導(dǎo)航系統(tǒng)gps畢業(yè)論文(參考版)

2024-08-30 15:34本頁面
  

【正文】 如果有 s3c2410rtc s3c2410r。 (2)、添加 RTC 驅(qū)動支持 vim arch/arm/machs3c2410/ 在 smdk2410_devices[]中添加 amp。 系統(tǒng)啟動以后會在 dev目錄下產(chǎn)生 event0 這 個設(shè)備節(jié)點,它們就是觸摸屏的設(shè)備節(jié)點。 (2)修改 driver/input/touchscreen/Makefile,添加如下內(nèi)容: obj$(CONFIG_TOUCHSCREEN_S3C2410) += (3)配置內(nèi)核支持觸摸屏驅(qū)動 make menuconfig 配置支持觸摸平驅(qū)動 Device Drivers Input device support [*]Touchscreens *Samsung S3C2410 touchscreen input driver [*]Samsung S3C2410 touchscreen debug messages 然后 make zImage。s3c_device_ts,然后在 smdk2410_map_io 函數(shù)里添加: set_s3c2410ts_info(amp。 ARCH_SMDK2410 修改 sound/oss/Makefile 添加如下內(nèi)容: obj$(CONFIG_S3C2410_SND_UDA1341) += 內(nèi)核配置 make menuconfig Device Drivers Sound * Sound card support Open Sound System * Open Sound System (DEPRECATED) * S3C2410 UDA1341 driver(S3C2410) 重新編譯內(nèi)核 make zImage 、觸摸屏驅(qū)動移植 下 載 觸 摸 屏 基 于 的 s3c2410 的 觸 摸 屏 補 丁 : (1) 首 先 打 一 個 補 丁 : , 然 后 修 改arch/arm/machs3c2410/machsmdk 添加如下代碼: 添加頭文件: include asm/arch/ 南華大學電氣工程學院畢業(yè)論文 第 27 頁,共 36 頁 添加結(jié)構(gòu)體: static struct s3c2410_ts_mach_info smdk2410_ts_cfg __initdata = { .delay = 20200, .presc = 49, .oversampling_shift = 2, }。 ARM amp。 SOUND amp。 endif // EBOOK_H 南華大學電氣工程學院畢業(yè)論文 第 26 頁,共 36 頁 、聲卡驅(qū)動移植 將 拷貝到內(nèi)核中 sound/oss 目錄下,修改 sound/oss/Kconfig 添加如下內(nèi)容: config S3C2410_SND_UDA1341 tristate S3C2410 UDA1341 driver(S3C2410) depends on SOUND_PRIME!=n amp。 private: Ui::EBook *ui。 void quitEBook()。 public slots: void openFile()。 } class EBook : public QDialog { Q_OBJECT public: explicit EBook(QWidget *parent = 0)。 } 、電子書窗口 觀看電子書窗口。 QObject::connect(quitButton,SIGNAL(clicked()),widget,SLOT(close()))。 南華大學電氣工程學院畢業(yè)論文 第 25 頁,共 36 頁 QPushButton* quitButton = new QPushButton(back,widget)。 QCalendarWidget* calendar = new QCalendarWidget(widget)。 widgetsetGeometry(0,0,320,240)。 } 、日歷窗口 一個簡易的查看日歷的小工具。cavans)。 include include minesweeping::minesweeping(QWidget *parent) : QDialog(parent), ui(new Ui::minesweeping) { uisetupUi(this)。 }。 int curr_pos。 int file_length。 bool isStop。 bool isPlay。//提供目錄結(jié)構(gòu)和他們的內(nèi)容 int file_count。//被用來啟動外 部程序并于他們通信 QStringList files。 //更新顯示信息 private: //Ui::mplayer *ui。 //快退 void playerForward_slots()。 //設(shè)置音量 void set_sound_slots()。 //下一曲 void get_time_slots()。 //停止 void previous_slots()。 public slots: void play_pause_slots()。 ~mplayer()。 ifndef MPLAYER_H define MPLAYER_H include QDialog include QTime include QTimer include QProcess include QDir include QIcon include /*namespace Ui { class mplayer。 int getLngLat(float *longitude, float *latitude)。 int initGPS()。 private: Ui::gps *ui。 protected: virtual void timerEvent ( QTimerEvent * event )。 int gpsState。 } class gps : public QDialog { Q_OBJECT public: explicit gps(QWidget *parent = 0)。 } 、地圖窗口 地圖導(dǎo)航主要窗口,可在該窗口上進行地圖導(dǎo)航,顯示位置等操作。 } void MainWindow::ShowEbook() { EBook book。 QObject::connect(quitButton,SIGNAL(clicked()),widget,SLOT(close()))。 QPushButton* quitButton = new QPushButton(back,widget)。 QCalendarWidget* calendar = new QCalendarWidget(widget)。 widgetsetGeometry(0,0,320,240)。 ()。 ()。 ()。 } MainWindow::~MainWindow() { //delete ui。 connect(pushButton_4,SIGNAL(clicked()),this,SLOT(ShowCalendar()))。 connect(pushButton,SIGNAL(clicked()),this,SLOT(ShowGps()))。 endif // MAINWINDOW_H include MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent) { setupUi(this)。 private: 南華大學電氣工程學院畢業(yè)論文 第 21 頁,共 36 頁 //Ui::MainWindow *ui。 void ShowCalendar()。 void ShowGps()。 ~MainWindow()。 ifndef MAINWINDOW_H define MAINWINDOW_H include QMainWindow include QCalendarWidget include include include include include /*namespace Ui { class MainWindow。 } } } 、主界面 主窗體通過五個 pushButton 發(fā)送信號,彈出導(dǎo)航、多媒體、游戲、日歷和電子書五個窗體。 strcpy(WE, strtok(NULL, flager))。 strcpy(SN, strtok(NULL, flager))。 strtok(NULL, flager)。 strcpy(begin, strtok(buf, flager))。\039。 if(NULL == fgets(buf, sizeof(buf), fp)) { return 3。\039。 char *flager = ,。\039。}。 char SN[2] = {39。 } } int getLngLat(float *longitude, float *latitude) { char buf[128]。 } void closeGPS() { if (fp) { fclose(fp)。 return 2。, 1)。 } nset1 = set_opt(fileno(fp),4800, 8, 39。 fp = fopen(/dev/ttyUSB0, r)。 } static FILE *fp = NULL。 南華大學電氣工程學院畢業(yè)論文 第 19 頁,共 36 頁 return 1。 if((tcsetattr(fd,TCSANOW,amp。 [VMIN] = 100。 else if ( nStop == 2 ) |= CSTOPB。 } if( nStop == 1 ) amp。newtio, B9600)。newtio, B9600)。 break。 cfsetospeed(amp。 case 460800: cfsetispeed(amp。newtio, B115200)。newtio, B115200)。 break。 cfsetospeed(amp。 case 9600: cfsetispeed(amp。newtio, B4800)。newtio, B4800)。 break。 } switch( nSpeed ) { case 2400: cfsetispeed(amp。= ~PARENB。N39。 break。 amp。: |= (INPCK | ISTRIP)。 case 39。 |= (INPCK | ISTRIP)。: |= PARENB。 } switch( nEvent ) { case 39。 case 8: |= CS8。 switch( nBits ) { case 7: |= CS7。 amp。newtio, sizeof( newtio ) )。 return 1。 if ( tcgetattr( fd,amp。 timer = 0。 } else { killTimer(timer)。 } timer = startTimer(5000)。 if (timer == 0)
點擊復(fù)制文檔內(nèi)容
畢業(yè)設(shè)計相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1