Labobicative - Leam how to une WinkVR and Proseus Parferm. - Developing C codes thar acceu GPIO pita of the AVIR microconthiller. - Leam bow to une sobt delays in splisatises. I. Preulab: Psfere vau tereins - Creane a folder for each par. Save all work on your flaih dink. Fobders can be mamed: Lhbl aud, labl tast., cic * hffer complatiag the lab yeu will hept to sedenit alf programs warce sode with the lah ieport. - Tatk 1: Manual Centrul of Degum Railway Gate Figare 1 depiss a gase conowiler for Doqum ruluay. in the figane, cars ave allowed to cros the railuay a long as the gate is Nor lowerd. where the poo light in lit for as long as it is uafe foe cars 60 cros. Hlowever, when a train appoochcs, the gate will be lowened and can will not be allowed to erese until the train has pesed the gate. There arc twe modra to controd the gater narual (uning a reolil) and automatic (periadis). The following tacks grve mowe details about each mode. For the manual coebol of the gate, aseume the following - Whan Manuat Smexh is Of1 tic. inpet = 0), them the grecn light wilf main oN tic. autput =1 j and can ane allow od to pass. * Wha the Manual Swach is oSs ece iaput =11, the there is a train appereching. Whan dhis happens, the proen light is furnod off (ie output =6 and the sed liele will skert be iocende - The red light will keop Minaire uril the Minast Swith in back we OFF. Thin is whene the grect light will be lit agait and the sod light will he OFF. The libeary atil/tintay, hieiplenenet the delay finction delay, meif. This function cam cmese a delay in millineconde. For eumple, 1 introdace a sions delay thalf iecotd) the flatston Sarinstand rogune si naunea trate Develep a C program teat capteres the requirmmets abeve Uie Frotcus Plaslerm io reif) and valiatate the program that you devilyped. Tigure 2 illuatates how to ald a swith called Logicstale froe Pretres litrary. Figure 3 shows bew be ald a teaffe light ftoun Presers - Tavk 2: - Upaise the progegren that yoe develoged in the previopa bak to iuppent auteatratic and he brid meden decribod in Takk 2 and tuk 3 of la-tab section..