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

正文內(nèi)容

基于qt的多媒體車載導航系統(tǒng)gps畢業(yè)論文(編輯修改稿)

2025-07-21 02:37 本頁面
 

【文章內(nèi)容簡介】 4ms。 執(zhí)行擦除時塊尺寸的不同進一步拉大了 NOR 和 NADN 之間的性能差距,統(tǒng)計表明,對于給定的一套寫入操作(尤其是更新小文件時),更多的擦除操作必須在基于 NOR 的單元中進行。這樣,當選擇存儲解決方案時,設(shè)計師必須權(quán)衡以下的各項因素。 ● NOR 的讀速度比 NAND 稍快一些。 ● NAND 的寫入速度比 NOR 快很多。 ● NAND 的 4ms 擦除速度遠比 NOR 的 5s 快。 ● 大多數(shù)寫入操作需要先進行擦除操作。 ● NAND 的擦除單元更小,相應的擦除電路更少。 、Nand flash 芯片電路Nand flash 是操作系統(tǒng)的程序存儲區(qū),該芯片掉電不丟失數(shù)據(jù)、壽命長,可反復擦寫。芯片容量 128M。適合存放高密度數(shù)據(jù)結(jié)構(gòu)圖 nand flash 芯片電路、 nor flash 芯片電路Norflash 是系統(tǒng) BIOS 存儲區(qū)。該芯片掉電不丟失數(shù)據(jù)、壽命長,可反復擦寫。芯片容量 8M。適合高速度、低數(shù)據(jù)密度的數(shù)據(jù)結(jié)構(gòu)。NOR flash 帶有 SRAM 接口,有足夠的地址引腳來尋址,可以很容易地存取其內(nèi)部的每一個字節(jié)。 圖 nor flash 芯片電路、 串口電路 采用 max3232 電平轉(zhuǎn)換芯片與計算機通信。圖 串口電路、 usb 端口電路采用 協(xié)議,usb 接口是用來連接 gps 模塊。圖 usb 端口電路、 系統(tǒng)總線及 lcd 接口電路圖 系統(tǒng)總線及 lcd 接口電路、 電源電路系統(tǒng)的輸入電壓為 DC5VC,因此可以通過 、LM11173MAX8869EU18 芯片來轉(zhuǎn)換成系統(tǒng)需要的三種電壓分別為:、 、 。圖 電源電路 系統(tǒng)的軟件設(shè)計、系統(tǒng)概述本系統(tǒng)的所有程序均采用 C++語言編寫,開發(fā)工具為 Qt,開發(fā)環(huán)境為 ubuntu 。應用軟件開發(fā)的模塊化思想來開發(fā)這個項目,程序定義了許多類來分別管理各個模塊,通過對各個類的操作,來構(gòu)建整個程序框架。各個類對象即可單獨提取出作為獨立的一個有機代碼,大大增加了項目的健壯性及可移植性。在將要進行的以下的代碼介紹中一般只給出了定義,某些類的具體實現(xiàn)未給出。、軟件詳細設(shè)計、主函數(shù)主函數(shù),項目入口,用于啟動其他模塊,并在屏幕上顯示主界面窗口。ifndef MAINWINDOW_Hdefine MAINWINDOW_Hinclude QMainWindowinclude QCalendarWidgetinclude include include include include /*namespace Ui { class MainWindow。}*/class MainWindow : public QMainWindow,public Ui::MainWindow{ Q_OBJECTpublic: explicit MainWindow(QWidget *parent = 0)。 ~MainWindow()。public slots: void ShowMplayer()。 void ShowGps()。 void ShowMine()。 void ShowCalendar()。 void ShowEbook()。private: //Ui::MainWindow *ui。}。endif // MAINWINDOW_Hinclude QtGui/QApplicationinclude int main(int argc, char *argv[]){ QApplication a(argc, argv)。 MainWindow w。 ()。 return ()。}、畫布定義畫布,在此畫布上進行圖形界面的生成,繪制,畫布也就相當于一個窗口界面。我們所要展示的內(nèi)容都通過畫布產(chǎn)生界面,內(nèi)容在該界面生成,并且予以顯示。ifndef MYCAVANS_Hdefine MYCAVANS_Hinclude QGraphicsSceneinclude class MyCavans:public QGraphicsScene{ Q_OBJECTpublic: explicit MyCavans(QObject *parent = 0)。 ~MyCavans()。 int pd(int x,int y) { if(x0||x9||y0||y9) return 0。 return 1。 } void changeblock(int x,int y) {pItem[x][y].changeMe()。}protected: MyPixItem pItem[10][10]。 bool mineFlag[100]。 int mNum。}。endif // MYCAVANS_H、位圖元素定義位圖元素,具體繪畫對象,以及在畫布上對繪畫對象的鼠標事件的回應。ifndef MYPIXITEM_Hdefine MYPIXITEM_Hinclude QGraphicsPixmapIteminclude QObjectclass MyPixItem:public QGraphicsPixmapItem{public: MyPixItem()。 bool getMflag() {return mineflag。} void changeMflag(bool m) {mineflag = m。} void addM() {isMine++。} void makex(int a) {x = a。} void makey(int a) {y = a。} static void addok() {okNum++。} static int getok() {return okNum。} void changeMe()。 int pd(int x,int y) { if(x0||x9||y0||y9) return 0。 return 1。 }signals: //void Pcheck(MyPixItem* p)。protected: virtual void mousePressEvent(QGraphicsSceneMouseEvent *event)。 bool okflag。 bool mineflag。 bool markflag。 int isMine。 int x。 int y。 static int okNum。}。endif // MYPIXITEM_H、GPS 類定義類 GPS,用來讀取 GPS 接收器傳來的數(shù)據(jù),并進行分析處理,用于汽車定位等。ifndef GPS_Hdefine GPS_Hinclude QDialog//include namespace Ui { class gps。}class gps : public QDialog{ Q_OBJECTpublic: explicit gps(QWidget *parent = 0)。 ~gps()。 int gpsState。 void locate(float lng, float lat)。protected: virtual void timerEvent ( QTimerEvent * event )。private slots: void on_pushButton_clicked()。private: Ui::gps *ui。}。int initGPS()。void closeGPS()。int getLngLat(float *longitude, float *latitude)。endif // GPS_Hinclude includeincludeinclude includeincludesys/includesys/includeinclude//includeincludeinclude QtWebKit/QWebFrameinclude QMessageBoxinclude iostreamusing namespace std。gps::gps(QWidget *parent) : QDialog(parent), ui(new Ui::gps){ uisetupUi(this)。 gpsState = initGPS()。 if (gpsState != 0) cerrGPS device can not be opend gpsStateendl。}gps::~gps(){ closeGPS()。 delete ui。}void gps::locate(float lng, float lat){ QString call = locateLngLat(。 QString num。 (lng)。 call += num。 call += , 。 (lat)。 call += num。 call += )。 cout lng: lng \t lat: lat endl。 uiwebViewpage()mainFrame()evaluateJavaScript(call)。}void gps::timerEvent ( QTimerEvent * event ){ static float lng = 。 static float lat = 。 lng += 。 lat += 。 int result = 0。 if ((result = getLngLat(amp。lng, amp。lat)) == 0) { coutlng lng39。\t39。latendl。 locate(lng/, lat/)。 } else cerrgetLngLat error resultendl。}void gps::on_pushButton_clicked(){ static int timer = 0。 if (timer == 0) { if (gpsState != 0) { QMessageBox::information( this, GPS, gps device can not be opened!, QMessageBox::Ok)。 return。 } timer = startTimer(5000)。 couttimer timerstartedendl。 } else { killTimer(timer)。 couttimer timerstoppedendl。 timer = 0。 }}int set_opt(int fd,int nSpeed, int nBits, char nEvent, int nStop){ struct termios newtio,oldtio。 if ( tcgetattr( fd,amp。oldtio) != 0) { perror(SetupSerial 1)。 return 1。 } bzero( amp。newtio, sizeof( newtio ) )。 |= CLOCAL | CREAD。 amp。= ~CSIZE。 switch( nBits ) { case 7: |= CS7。 break。 case 8: |= CS8。 break。 } switch( nEvent ) { case 39。O39。: |= PARENB。 |= PARODD。 |= (INPCK | ISTRIP)。 break。 case 39。E39。: |= (INPCK | ISTRIP)。 |= PARENB。
點擊復制文檔內(nèi)容
教學課件相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號-1