Download as pdf
Download as pdf
You are on page 1of 28
2014 oY Sie > Jaks ge sl ot PIC 15 8585 SallmikroC PRO cult JD Goh All id la Gnas ede aM quence aged ga Ca ae hm coal ee sl Sin oi Gl he lee pall IGS) eltiLNext, OK, Next, Next... Them ale Weaith Sank gi a tol!) 4 ot driver J4' 2! Jleoftware se ep al dpe ta aly, (Cine eins gs hardware 35e0! ox communicate Jas SxS) By BS Sel tes ls HEX Code oe le 5 dB Sl el ht software ). shardware <3m) Seay jee sl aS on ld miro DRO for PIC 2010 Satup s Installation Complete ‘Setup mas completed successful. At Aa ey Lela Oe (@ mikro€ PRO for PIC 2010 Setup Do you went to install mikroProg Suite For PIC vi02? ane '@ mikroC PRO for PIC 2010 Setup Installation Complete: ‘Setup was completed successfily. elk Aaa Sey Geld! isl all (@ mikroC PRO for PIC 2010 Setup Do you want to install mikroProg Suite drivers? =| ” 2014 oY Sie > Meru Toolbar Project Manager Routine List| —1- Project Settings {main settings of | the microcontroller) Error Window ‘Code Editor Library Editor IDE FOR MIKROC PRO FOR PIC ap jal 4Lisiali_y plat) 14, spp ALAS gl yy lS n 2014 oY Sie > ayy Al ass AY 6 yo yA ofl nh Zab CY agen Je gD i oa 550 pe eh bea Ge aah Ay iy ll A yh ed YS ee a Gg Ge [FA] 5b las gal Shale co pd, pat PROJECT MANAGER gs -4+ p34 G28 soca we esto 2S Gb eas gl yproject E524 dele a Aly Aaakie Bs saimikro® ap as all gals lila Ga We pb s headers! Liles assembly lea! 2S iksHex Se!) ASA gy pall ye SE CAE WS ay 5 SN al ll gn JAN) Gan a il oy ae easel ee DS seg ad CA GD YAS Jy he GH NS I iS te Se Lal CODE EXPLORER #5) Siu) cinaie n 2014 oY Sie > cee procedures @ Toggle Breakpoint 6 aa ilae| FB gh ti (qui) UI (Son) 81 Lal og LE Run /Start Debugger Ju! te 3! Project Settings Window (Build type - release) © geal ony) Sat HLS, Sha Sk gg a) nurture) eo sl la a nl ang Yada Snel) ARLEN Le Sa SAB ye il gay 5 OS gl tp iy BSL aha GE ih S05 oy A Se gd ose LS ™ 2014 oY Sie > a gine ba Gist) SeStep Into ipl se eee sts et aly ke Sit : Sed tle 2 LaStep Over Si se Si A ei i OY a eye 8 pal eg gh pid es FAY GD AS By GHD Oe Sy see Gas Sel SUS sb BAB A Gt TE she ey Clie BA gs pd saya On GS Lae AN I aa, Dad Da iss A a, says Hise 6 all ob sa lon legend Oe cane ode Sil a 9284 Run To Cursor : wate ae got gil (2 Bean) cal on et dg A Ge seStep out pea is oI SS Gls) 2 ay Ga debugger co-eds simulator Saad ein Sade pasa pkg Lely lone gle gall iy Sled gh gp Gh 8) yall 5S GV US (Sl) Gti all lade ge Sey Ge yal Ania Wal ass GH peng a ght) NS Cals 8 Le Gin GI Jel Gd, Dll gue Ula Sl yy a gwcWatch Window sly 4a Le Ay ab suWatch Values 6 le iil ViewWindows si 3) wim sit obs Jad Ml jo 5) Dig Dey Wem [Relat Be Ba Too Witch Values ihe odes BAR| Tonle H&iwia men , Hdd 9 Bereve QD Propertin @ Ad AN @ Removes osnan ‘Select wate from kt. ee Sete et Search lor vanable by axsembly name, ees PORTE _ Daeasanaye Samcwert ges Pasian on fad conen ae — se sso ASSAY Ape ay lil USF Ls oil al els Debug Windows Stopwatch 5 2014 oY Sie > ‘COMPILER’S TOOLS esis! ail 33) CALITOOIS. iy LN ya Falta Von Quem gall NAS ee Iapetl eald ll pe fl in hy pele cal Jag Lg pt oe 6 2014 oY Sie > [Tests |Help BD in€ Programmer An rem: |4 ‘Ascii Chart EEPROM Eaton Export Code To HTML LCD Bamap Editor 180 Terminal LCD Custom Character ~eSBSLEe |e misoBectcader Suen Segment tor ln erent | 1B USART Termine! Cte | Options ma pall gia) gia jl) tad Ju yall USART TERMINAL" 48 jh! 52a gl NH el 5d tb A Sea le AUSART 44 ll se Ce Seat ping 2) Sy SiS Sol Le Ge din pss 5) Windows Hyper Terminal HS Sapte Site STARS232 gh Sa a yy ISIS Hae essay SAUSART Sie hs Abily ay la oar yal Joa Ip 8 es fin JE SeISART. Ha EEPROM EDITOR sis) 5 = 5S USE ca ay. SS Hil 3H ot ls Tools Ail ox EEPROM Editor hill x8! 8) As 88s Subs 994] EEPROM AD G8 JOBS I ine game SSA a TSG Is Seal Upland oy Uy Sn pt 9 § C8 Gee ANE NEG, oA) Eait Vale GS) ni 8 Lak 22! «(cnar, Int oF double) Hip. Chul ol JeiUse EEPROM in Project usd IS hex sky city) hislSave 3 ane pl ae ol ay ys as ASCII CHART Sul thy Ae BSI Lit SI iy a ei SY goal Jade Sy cals My Alia Gig all 5 SUS 1) gel aly Ue Gye ae old Ge Yay a al lta og plot ue all say LCD LLM ing Pee BST le aly 7 saul gi Aad gl le Las da al) Ga J ad Sel be Sh ISS AB sa Bll 535 pall pad ml ne pa yt Se Se eBATools tlt go Guta n 2014 oY Sie > SEVEN SEGMENT EDITOR oi go) sas 2D yeeyy Sad Ge lat eel ype ay nd gst Sad Sight gt any ld ole I pla, aN ol gh Mas Celle ily tae Sh ge all go bb age a guid Jae Seven Segment Editor ‘Common cathode: 7 Common anode: 240 Decoding Format: ® Beamel O HEX LCDLCD CUSTOM CHARACTER wail! 5 Gye Gas LOD 3 $8 ua pl day Maye ie De Sl Gyles Sel oS opal La pall ecbinl! 2 SU itll y oti) gf GLO! Jal yo hed nals i CListom character (ees) J&A) 4881. custom character 685 3% pine las yo gle ily ja oli) aye wh athe 4 6 els GENERATE «55 Athy edi Copy to Clipboard ~ Paste, ‘als Hsia 3 SHA SA eh oa ABN yt) BLN ay CALAN Sy pl ye GRAPHIC LCD BITMAP GENERATOR 1% 2014 oY Sie > serotonin GLCD trap to i 98) Seta ol dan Ghats LAT Bag Ys al tl ia “JESU Lge BAGEL yA gu gl Ge Gu SN a SLYGLCD), tap dang) cles gs JES! 4a Zt ess Tools/Gled Bitmap Editor Aad! 9) Ge el JEN gb US ol lb 2128 x 6 pixels). JL af AD Led Sal 4 Gy ge gig GLOD LOD cal cin gt Sail oi sh os 289 Library SE AAS Jee ed ee TY ga es Sibrary ee ES Malay le Hl Ge al Sl Manager LIBRARIES Susi eo 22/9000 Beet i o El ne t Led Constants ome mete © El Pehemet oF) $1 etemet 29500 Ma » 2014 oY Sie > AS bea Gate Library Manager aia) yee ys cit al I on Gaal gall go Daally yal lsh ce SS Ul cele eae Highs Digle AOS 1 ab le Js Jelly function Ws! ae 5 (poh Ja oj Bly) CASA is yb ie a Yo Ud « wa al Sound yaa Se el GAN sans oe SOUND igh ll Sal gh 8 3) JE Sound_Play . ii) isd! c2) i s Library Manager MS. 313 5385 library checked sai 1) Ail al ey mall ac, LA Mig gh Sle ay ey Al sama Ge ST aa ee IS LI hy le i pl pd oe #include. ssi pi ) ACCESSING INDIVIDUAL BITStbaiial) 4 pi) CASI Lt) Ipod) Ve SS a GS pital GIS Ge 8 JS I) J pe clmikrOG PRO for PIC aj) St ca Sel ot (WAS) dw INTCON.BO = 0; // Clear bit 0 of the INTCON register ADCONO.F5 = 1; // Set bit 5 of the ADCONO register INTCON.GIE = 0; // Clear Global Interrupt Bit (GIE) INTCON 4xbtial 4 Sod) Jadbit0 1s! Haliclear esINTCON.BO ADCONO . J33/A/D Sse! oi pSatl Je tbitS Luisi Liallset ee ADCCONO-F! : INTCON tabtial 3 Soil JAIGIE U0) Zab 3805048 A WINTCON.GIE = 0! : SBIT ¢ sil oe cist) Daal Jpeg shy GL sbit caus Ul + Gals ¢ smikroC PRO for PIC 4 juls o> SS AS ie He DEM, aI, Sl pd Lal GS oe extern sbit some Bit? // Some_Bit is defined char MyVar; sbit some Bit at myVar.F0; // This is where Some Bit is declared void main() ( ) Some_Bit s-Yeextern sbit xl ASLusbit ¢ SAS Gat: UNI plas! ) sls BE Sake JaaMyVar ( meVuchar Gis g 9 heaps | a ya sbit ... peal) slsausbit ¢ 6 Ge ALS Ge ey): SI lat Sap al Sab aS Ailey Jae Go AS a) any Gtobit C9! pte Ge DEL a PAualS Gilly Jad iS Gi yea gata ll gus AY DEY Gif ALS (12st extern sfx sbit Abit; // abit is prec: sbit Abit at PORTB.FO? // Now, Abit 1s declared void main() { sely defined 80 2014 oY Sie > MikroC PRO ps i ate! et Jes build ¢ sta lis, et NA 1 dy ipa eb workspace aa! ile aL aye Sse, lps a io aly gall (Jat) cl seal gy cle bay 2 ob a hl ey phe Ltt sey sll New Project Wizard ssl! pHal) clas iy alt an Next 9) 55 2 i) Welcome to the New Project Wizard ‘The weaed halos you a1 DiS Se sl Steal! a 3 Sy Spas HRSG GUPIC AS Sed gs Gl Hel pt lh on Jaks ol ag ISTE Ge Next. 33 a Pee 24s Sohal Next 35 8th ll penal (SAN) Sill ell as Ss olay Ula La Ge 2014 iy! Gael 2 i Re Dy yy AS a ig, ey ya ad ins Gps IS 8 SS any TAT Gg BOG aay, ade Te Sy Mls pha sya AN) gle AD ad Gena Sb Next, 231 |Speeity where your project will be taved. Project File Name: 6 ais ge A chile ALY GM tins Y gk, GQ gf dey phe lle ca iy SU Oe Next. oil) ule the fly oa LS US 8 27 Ayagha pe Coal ea gst pe pe IS pn OLS a ey yar he ya A Ag Jeo U™ Liprary Manager, Sse) ya" Sp ie jue! Se Sa ape NY oe sl ae Next. 25 ce #4 “None see ol fe pi Sell Back 95 le ail) Leal Uy, Ley ol SL tly you nave sucess created a ew projet. Ck Fash to save the changes 2014 oY Sie > £9 phy Saal ois all A" Project Managerg spt! gat gle fl Like JAI Ue gta Ula oJ me SB By ptd pete Sites Stile a Ces, a ae ei any Ge Lo gf Ua hy Les, Output co8llsSource yaad slay set Lapin ltt) Jone Be OS 6 Eprom Manage (202) Teams $800 newreg [|| stmt emu owea ft 10 5h SHAN) SI a aed ie Gans OY pg Ik, geal wa oe Sa ae I us Jad oe 4 QasWatchdog Timer Ga) Sip aw Glad i el J Ga a Buta ealte Project >> Edit Project. . (Yew [Bonet (Bad Bin Took te 29) Rb dew rome. shnecuien Cree |B Srenhrop.. sntecnieo = (BR Cuentroket oo. eecert roms . D sworn 2 iD se ramen a BD oe mater x08, OxSB, Ox4F 0x66, 0X60, 0x70, 0x07, OxFF,0 sansa at | ews otow Oy = 85 2014 oY Sie > 11 hye ea ee SUS CA SANG, pal yy S50 OM Way el ye Re Oscillator : 3) e AKT. 408s ol oad ARS SIS Bg S AS IS OY Us I GL Bg Jal Ly Whe Gnd Otay Laas gle sy be pA a LSID) Aa clos HS 1 ada This hada S93 ye La gil Sy FAD Qa ISLA LaILT MAYIRO . J Watchdog Timer ia! allie « Siete oy gil Syl pp pl Shp, Val sipdizable GE ae slenable Get ity AS 5 AI itn) USS | clace tng SANS Nay Say gl Sill gd Rely Dg 50S 9 Spall cyanea Lead OFF. Yat Power Up Timer js! oy 25. « A Dmg SI Al day ill Dy SS 5 Sell aang Le gy bd! canal pl 8 jal tb pag ON. gong oe sa ie, Ja | GN Code Protect +a. Brown Out Detects gla ans co Sf AS gal an apy Anny Stal lan hy ign ol pS Ul] hia IS 1) ES ON. gas! Low Voltage Program : aise gal! ps8 ine yD VRS SUA Aen Ee ey a ae oS a Agtias MWY ale yt AA he SS Gy ist Data EE Read Protect : §S') ouiy sel Stam a pk ale iy Lid GS gle ay, ell EEPROM 3,815 4 po) Cll Alea) 8 OPT. gy SAS A ag Gi 2 an Ly ig gl ape gt US YS AI Spal ie Ugly g AS CH AS ay hy dl SS aly 86 2014 oY Sie > 192 abs pleat BR aS Jab A gy al Oe Sle I) I i) a OM 1) Sie 2L.2yProject >> Add File To Project “clile U14Project >> Remove File From Project Sh ate) Jie gw Cull 88 het oSdd File To Project = itl 1 mikroC PRO for PIC v.4.15.0.0.-D:\PIC TEST WProgramsMOPins\Test.mepp 1 te tow [beeen siege; at) sooner Dion 113 S23 sa Pak Sy Ws Gey Gah aly ape pdProject Manager ¢ sil) ji phd) Luni iy ssl ge oR GaN ihe ill Mi AS US, chal! VEL EL ang Add File To Project . 388!) 8383) sia 8 Gide! 7 2014 oY Sie > Boe SkAGAA AiO G2u E)_0.VIC testprograns\sorws\test... $368 JG) 3B ELF) atid |g © Festemcoo! (pad rope To Prod GO © sewces B tne eer Fes oares Projet Level Defines mage res cePRotaties ‘ative Commer Flos cusps rine A (snewwoy 7 oe 214 S53 h8 JiProject >> Save Project qi ji! yy lst Use. ¢ y Hal) Gy bin ge Cant gM! Esota) 4kProject >> Close Project ily >! 5! ¢ xt 4és'Save Project As + (G Agare tomropet 20 | GE Rovere Frommojct oes & cterome. siteone cnn mope tale 3 tasothons.. ant B fypat Prot Chinato 115 eb Sslal Saad, WS) Sel doe pshex Sd Gl Jade talbullding elec pte Aaey Lind WSemikroProg Suit. pod Aneye fans Hal LS ol clas thee eS Sd 88 2014 oY Sie > Ox Wile Uy g yal old QM, te loa, NR y Clan AAS Ny Sy Sl Ae Ay lay Bild >> Build reat. Torr=0; Taho*6i: i ip: i: |i i void main 0) ies £16 Ay sh CF La aa iy i Dy Gps SE A ott ae A a Lay ser AM 65 Wad, gf Oia Ss 1), Mplh oLLASY) ym Eagan al pally Rasa SI) (Eap2l e NOX A sas) iy Ly FS 4 Sol pe hI yale + | bertom_neo.rsi-is + | SertonRes.r50-1 som ore=1s reo TorE=t ‘nbrocPICV SF 006 9167877 40111 Compson Sted Aili Conoied 16 me eed (tes: 9 (Sm) Free RAM tes: 34 (7% nesnoet eres mr See (te) fees ROM Pome trbed Sacer Uiedn atm 9 2014 oY Sie > Mikro® PRO . ap aly ate) Jue 9 ge aye US I Lh AN day ae ng Ba le Hal ae yaya Sel LN nly At shy es Sand LN nay 8 Ue oS Sie Ral A" al ad GS 6 hey Le Ye) SS ney SP aay ap OFF , uaa JON Shas tla yi all Jans als" cosh pay ALR Sl Joe Se Ga Aaj MD Held Chand SI S2OPF wiley 95 Loy SOSC2 OSC! GAY esd « fe celp agp WS, My SD 8 Ge add LBS, Slee pe 1 BS Sell lad ) hs BS Gd) Jaa peal? Sali2OMH2 ( ce 4 5t Yl py Sy Gu jdal AV) G yal atl oy Joos SRBO Gy oS GLEN col tae Led ol wy BV as eS. Sl cake SaR=(Vm Vi) 1 ad cn ei esl Rs. all SS20MA as shey as al Set Ua Vt sl a ee AVI STORZ , fin age pla! sic Ube angi 0415092 56 Apia) JB Yl) SWPIC16FB77 3s 8S 5 Sed) padi Gy LY | eMC PRO. pei i a GS) 5 pha SD apd od MEME. Sy By yen he le nye Te le nV eg nat ag ah pS led) JEON ALS Jel En 5 ge seaK 20) ety ls ll oy Gal in 6 5 US GIS. void main () { 9 2014 oY Sie > void main() ees, 9801 ih global variables 2 Sl dat on le Build >> Build 21 Wut wan dlsMessage Box I Ja al oy Lisle Gang NINO tae 3 Stan i She any 5 iy old) JUS} Build. 958! asl ym yo eee Sie ola gi dle OS WIyhex Glready 4 j8le ce Cee! 1S SSS: Sealy tang cing Gly Nex Abd Yd gS aye Selb Shs 3 pl cla (Dime ontcmew = Bie sale Uiadebugging eal cunts Aly alae Saale ali RUN aby 98h i ne yh eal sang yh gh ol gl pl Waal 4 (Sl ya sila Bad St face yl ll 5 Giga gRUn >> Start Debugger iy Sia SDN CN ly pal IS Jad 6 lay 5 pla Sante LS 7 gle aaa Wee ensieia NN ee e Te | Seen | Eee 95 2014 oY Sie > Bye ULES gas, aly ite On is! EE S8 be oll KEE J ) Wiay Af yl ca hash sh A iy a Ga a Ly in A bs i yaa yl i joo 4 06 oe Sa Pe een ee ‘Select vr hon ‘Sees for aie by anenty nae iso ® JAK) sl DASH gatas ly Si yyy aM Dyas Clash he J peal! kg ARI LO + day gah wach ond 30 rc me comet cnet: $6006 Bove ote SO oom (| Seomae SO soon “Wr Ronen eeveres Cranes) oe me Nees oc 6 all BS cal AIBN ye Ail So ot, laa! le oa NI weal a oF EE ee AS Sed ce nex GL Sea ft cli Se Program Jia a.) Jy Ayal) LA) 5s Edit Properties 5, 3150555 te Processor Clock Frequency = seit) Us! ai phox, Gali y dandy cial 9 File BMHZ . 440) cel 96 2014 oY Sie > SOFF . all cide § 8 JON. epentne 8) ll o) yt otal i pe ont Js), Saal as ad os A te 1000 4) 500 ane Lise, Una y A SL G2) sti GOFF | GON Sled) Sc «Sealy pa 7

You might also like