资源描述:
《毕业设计英文资料 触摸屏》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、Althoughtouchscreensarerapidlybecomingmorepopularmostdevelopershavenevercreatedonebefore.Hereisastepbystepdesignguidethatleadsyouthroughthehardwareandsoftwarerequiredtomaketouchscreensworkthefirsttime.Touchscreensareeverywhere.Industrialcontrolsystems,consumer
2、electronics,andevenmedicaldevicesarecommonlyequippedwithtouch-screeninput.Weusetouchscreenseverydaywithouteventhinkingaboutit.YoumightgetcashatyourATM,signforapackage,checkinforyourflight,orlookupatelephonenumberallbyusingatouchscreen.Thisarticledescribestwore
3、lativelynewCPUofferingsthatprovidebuilt-insupportfortouch-screeninput.I'llshowyouhowtowriteasoftwaredriverthatwillconfigure,calibrate,andcontinuouslyrespondtotouch-screeninputusingeitherofthesemicroprocessors.Theresultwillbeworkingcodethatyou'refreetodownloada
4、nduseasabaselineforyourownefforts.Touch-screentechnologiesBeforewecanbeginwritingatouch-screendriverwehavetohavesomebasicunderstandingofhowthehardwareworks.Manydifferenttouchtechnologiesconvertpressureortouchatascreenlocationintomeaningfulnumericalcoordinates.
5、Someofthesetechnologiesincluderesistive,surfacewave,infrared,andcapacitivetouchscreens.Foranexcellentoverviewoftheavailabletechnologies,youcangotowww.elotouch.comandwww.apollodisplays.com.ForthisarticleI'llfocusonresistivetouchscreens.Resistivetouchscreensarev
6、erypopular,andthey'rethetypeoftouchscreenyou'llfindintegratedwithmanyevaluationboardsanddevelopmentkits.Resistivetouchscreensarepopularmainlybecausethey'reinexpensiveandelectricallystraightforwardtoaddtoyoursystem.Resistivetouchscreensaresonamedbecausetheyareb
7、asicallyresistivevoltagedividers.They'recomposedoftworesistivesheetsseparatedbyaverythininsulatorusuallyintheformofplasticmicro-dots.Whenyoutouchthescreen,youdeformthetworesistivesheetsjustenoughtomakeelectricalcontactbetweenthem.Yoursoftwarecanfigureoutwheret
8、hesheetsareshortedtogether,andhencethetouchlocation,byexaminingthevoltageproducedacrossthevoltagedividers.Thereareseveraltypesofresistivetouchscreenswithnameslike"four-wire,""five-