Therearesimplelittleprojectisthefirstthingthatwe'regoingtodoiswe'regoingtoprintout a samplesplashscreenSplashscreenissomethingthatpopsupessentiallywheneveryouturnon a Elektronikdeviceor a computer, andmanytimesthatsplashscreencantellyouinformationthatmaybeimported.
Nowitmaybe a logoorsomethinglikethat.
You'redealingwith a largecorporationalarmvendor.
Butforyou, ifyou'recreatingcustomlittlewidgets, maybefor a splashscreen, youwanttoputsomethingsuchas a phonenumberorwhattodoifthere's a problem, sowe'regonnadoiswe'regonnathrow a littlesplashscreen.
Then, after 5000 milliseconds, fiveseconds, thenwe'regoingtoprintout a simulated a networktestersoit's goingtoeacrossthetop.
Itwillhave a titleofnettestisifthisis a networktesterandthenwe'llactuallysay I p Colon 1 92 don't want 68 at 1.1.
Soifyoucouldjustshowyouhowthisprojectisassembledandthenwe'llgoover, take a lookatthecodeandthen I willdemonstratehowallofthiscomestogether.
Sotodaywe'reusingourstandardof 1 28 by 64 0 ledscreenthatwe'vebeenusingfortheprojectsandweresimplyconnectingthistotheArduino.
Nowagain, sincethisisaneyetoseeor a nicesquaretoseeAh, screen.
Weonlyneedtwowiresbeforethedata.
Sowehavetwopowerwiresandtwodatawire.
Sowe'reusingthefivevoltandtheground, andthatgoestoBCCandgroundonthe O ledscreen.
Andthenforthe S C l s C l goesto a fiveontheArduinoand s d a.
Thengoesto a four.
Andsotheseairnotactuallydefinedwithinthescript.
Thisisjustsomethingthatyounormallydowheneveryou'reusingthe I squareseeprotocolandordertocommunicatewith I squareSeedevices.
Sojustkeepthatinmind.
That s c l thenwillgoto a five s d a.
Willgoto a four, andthat's reallyallweneedinordertoassemblethisproject.
Solet's gooverandtake a lookatthecode.
Sohere's a coatforthisproject.
Essentially, we'rejustsettinguptheenvironment.
Andthenwhatwe'regoingtodoiswe'regoingtoprintout a splashscreenandthenfromthatsplashscreen, we'regoingtogointo a loop, andthenwe'regoingtodo a simulationof a networktester s.
We'regonnagodown 17 Rose, andthenwhatwe'regoingtodoiswe'resimplygoingtododisplaydotprintline, andessentially, we'resimulating a CZ.
Ifthiswas a networktester, soprintlinethe i p withthe i p address, displaythatprintlinethesubnetdisplaythatprintlinethegatewaydisplaythatfrontline D.
N s onedisplayedupfrontline D.
N s, too.
Sobasicallyallofthiswillshowuponthescreens, willbeabletoprintonthatoutandagain, Ifthiswas a reallynetworktestingthing, youwouldbeprintingoutthevaluesofwhatit's a sceneinsteadofbasicallythesestrings.
Butwe'rejustdoingthisas a testandthenfinallyassaidbefore, Weneedtodothedisplaydustdisplayfunctionsothatthisprinceeverythingthatisinmemory.
Wecanseenettestandthenunderthatatthe 17 positionwedon't have I P says 1 $92 68 1 dotwhatitsayssomethat 255255250 Anditsaysgateway, whateveritisoneofthe 2.16 Youdon't wantone D.
N s.
1 100 to 1 succeed I wantto.
AndIanhasto 1 92 to 1 68 1 notthree.
Andagain, I know, I knowtryingtogetthisthroughthecameraandmaybe a littlefoggytosee.
But I sweartoyou, intherealworld, thisisabsolutelyclearandveryeasytosee a CZlongasyouhavegoodeyesight.
Nowdoyouremember?
Doyouremember?
Thisiskindofsmallagain.
ThisisthesizeofanLCD.
Thisisthesizeofsimply a tworowLCDscreenversusversusthis S o.
I thinkthere's 30 differentfontsyoucanuseonhere, andsothosearethingswillprobablytalkaboutinthefuture.
Butforrightnow, I justwanttoshowyouhowtodothisfromfrom a simplestandpoint, basicallyjustbeingabletoprintouttextbecause I figuredthat's whatmostpeoplearegonna d'ohagain.
Ifyou'regonnahavesomekindofArduinoproject.
Really?
Thevaluablethingisbeing a printoutsometimeoftextforyoutounderstandwhat's goingonwithyourweknowprojectreallytheonlydownsideand I willsayitis a bitof a downsidewiththeseoldladyscreensisjusttogiveyou a headbayTinytimeoverhere.
And, uhsothisthisisthisis a 20 characterbyfourrowLCDscreenandyoucanseethesizeofthisversusthesizeofthislittle, ohledscreen.
Theproblemyou'regonnarunintofrom a userexperienceperspective, though, isthattheseairthisistiny, tiny, tiny, tiny, tinyon.
Soyou'vegotgoodeyes.
Now, I honestly I havegoodeyes.
I don't I don't wearglasses, I don't wearcontactsandso I canreadthetextonherejustfine.
Butsomethingthatyou'regonnahavetobethinkingaboutwithyourusersisifyou'reputtingthisinto a productionenvironmentandyou'reexpectingyouruserstobeabletoseethesetimeyourlittlenumbersandwords, youmightruninto a problemagain.
ThisisThisisoneofthosethingswherewetalkaboutpeopleask, youknowwhatistherightproducttousefor a project?
Oh, okay.
So l o l e d doesallthisgreatstuffso I'llonlyuseohledformyprojects.
Well, somethingtothinkaboutifallyouhavetodoisprintouttextagain, I p addressestemperatureranges, Somethinglikethat.
Youmaywantoneoftheseugly, oldfashioned, massivebezaledscreensbecauseitactuallyprintsoutthetextin a largeformatthatbasicallyalmostanybodycanread.
Soalthoughtechnicallythisisfarinferiortoeledscreaminreality, in a productionenvironment, simplyhavingbigold, uglytextthatsomebodycaninfactreadmightbefarmorevaluabletoyou.
Soanyways, thiswasjust a littledemonstrationoilladyscreamagain, beingabletoprintoutthetextagainforsomebodywithgoodeyesight.
I findittobeabsolutelygreat.
I especiallylikethefactthatyoucoulddothoseprintlinesnowyoudohavetoinitiallydefinethecursorpositionwhenyou'regoing, beprintingout, youknow, forthefirstthefirstlineoftextthatyou'regonnabeprintingoutbutthenpassedthatyouconsiderit.
Simplydotheprintlineandthengonext, Next, next, thatmakeslife a loteasier.