Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
en:exercises:display [2010/02/04 11:19] – external edit 127.0.0.1en:exercises:display [2020/07/20 09:00] (current) – external edit 127.0.0.1
Line 1: Line 1:
-====== Harjutusülesanded ======+====== Exercises ======
  
-Eesmärgiks on koostada programm, mis täidab kirjeldatud ülesannet.+The goal is to write a program which is able to perform tasks described below
  
-===== Soojendusülesanne =====+===== Warm up exercise =====
  
-  * Loendab 7-segmendilisel indikaatoril numbreid 1..9 ning siis tagurpidi tagasi 9..1. Loendamise periood sekund.+  * It counts numbers 1...9 and then back 9...1 on the 7-segment indicatorThe period of the counting is second.
  
-===== Algajale =====+===== For beginner =====
  
-  - Suvalises järjekorras esitada 7-segmendilisel indikaatoril kuueteistkümnendsüsteemi arve sagedusega 1 Hz.  +  - Present numbers in hexadecimal system randomly on the 7-segment display. The frequency is 1 Hz.   
-  - 7-segmendilisel indikaatoril panna 500 ms perioodiga ringiratast kordamööda põlema välised 6 segmenti+  - Light in circular sequence 6 outside segments on the 7-segment indicator with the period of 500 ms. 
-  - Alfabeetilisel LCD-le kirjutada järgnev tekst: "õun öö äpu ülo" +  - Make a LCD program which shows the code and corresponding symbol. Use codes from 0-255. Every code symbol pair is kept on screen 1 second. 
-  - Alfabeetilisel LCD-l näidata erisümboleid. Kuvada ekraanil kahel real järgnevad tekstid: "Minu programm ©", "Kodulabor™"   +  - Make a program where you can move "Xsymbol around the screen. Use button S1 to move leftbutton S3 to move right and button S2 to change the row. 
-  - Graafilisel LCD-l kuvada 10-realine tekst, mida saab nuppudega S1 ja S2 üles-alla kerida+  - Display 10 rows of text on the graphic display which can be scrolled up and down using the buttons S1 and S2. 
-  - Kolme nupuga teha kasutajaliides teksti sisestamiseksNäiteks ühe nupuga teha märgi valikteisega märgi kinnitamine ja kolmandaga teksti lõplik kinnitamineTeksti maksimaalne pikkus on 10 märki ja tekst tuleb pärast sisestust tagurpidi keerata ning teisel real kuvadaPiirduda võib ladina tähestikuga. LCD omal valikul.+  - Make user interface using three buttons for inserting textFor exampleone button chooses the sign, second verifies the sign and finally the third verifies the textThe maximum length of the text is 10 signs and the text must be turned backwards and displayed on the second rowYou may use just Latin alphabet. LCD by own choice.
  
-===== Edasijõudnule =====+===== For advanced =====
  
-  - Graafilisel LCD-l kuvada kreeka tähtiEsitada järgnevad read"Takistus Ω""∑R=∑πR²""π=3.141592"+  - Display Greek letters on the graphic LCD. Display the following rows “Resistance Ω∑R=∑πR²π=3.141592”. Use source code of the HomeLab's library (from the website)
-  - Kirjutada kümnendsüsteemi arvu konverteerija kahendkoodiKasuta nuppe S3 - S1 sisestamaks kümnendsüsteemi arvu (S3 - sajalised, S2 - kümnelised, S1 - ühelised) 10 sekundi jooksulNäiteks nupuvajutust S3-l tähendab arvu 400. Sisestamise alguse märguanne ja arvu kahendkoodi tulemus kuvada suvalisel LCD-l+  - Write a converter for converting decimal numbers to binary codeUse buttons S3-S1 for inserting decimal numbers (S3- hundredths, S2 – tenths, S1 – onesin 10 secondsFor example, pressing button S3 times signifies number 400. Present the sign for starting the insertion and the result in binary code on a random LCD. 
-  - Kirjutada funktsioon, mis kuvab graafilisel LCD-l ristkülikukui laius, pikkus ja vasaku ülemise nurga koordinaadid on antudJoone paksus on pikselKontrollida, et etteantud ristkülik mahub ekraani mõõtudesseSoovitatav on uurida kodulabori teeki+  - Write a function which displays a rectangle on the graphic LCD when the widthlength and the coordinates of the top left corner are givenThe width of the line is pixelCheck if the rectangle fits inside the screenIt is advised to study the library of the HomeLab
-  - Teha lihtne ussimäng graafilisel LCD ekraanilUssi laius on piksel, pikkus pikslitUssi saab nuppudega vasakule või paremale pöörama pannaUss peab suutma vältida kokkupõrget ekraani servaga (enne seda ära keerama). Boonuspunktid munade korjamise võimaluse ja järjest pikeneva ussi eestÜlesande lihtsam lahendus on uss teha "O" tähtedest+  - Write a simple worm game on the graphic LCD. The width of the worm is pixel and the length is pixelsThe worm can be made to turn either left or right using buttonsThe worm must be able to avoid collision with the border of the screen (turning before). Bonus points are for ability of picking up the eggs and making the worm to growThe simplest solution is to make the worm out of the letter “O
-  - Kirjuta programm erinevate ilmastikunähtuste kuvamiseks graafilisel LCD-lPäikesepaisteline ilm päikese ikoonvihmane ilm - pilv koos sajugapilves ilm - lihtsalt pilvlumesadu - lumehelvesIkoonide suurus võib varieerudapeaasi, et ikoonid on selgesti __eristatavad__Ikoone peab nupuvajutusega vahetada saama.+  - Write a program for displaying different weather conditions on the graphic LCD. Sunny weather  icon of the sunrainy weather – a cloud with raincloudy weather – just a cloudsnow – snowflakeThe size of the icons may varymain point is that the icons are clearly distinguishableA possibility to change the icons by pressing a button must be present
  
-===== Kordamisküsimused =====+===== Questions =====
  
-  - Mitu viiku kasutab 7-segmendiline numbernäidik (koos punktisegmendiga), kui see on ühendatud kontrolleriga otseMitu viiku on vaja, kui numbernäidikut juhitakse läbi ajuri (//driver// - A6275)? +  - How many pins uses the 7-segment number-indicator (with point segment), if it is connected directly to the controllerHow many pins would be needed if if were controlled through the driver (//driver// - A6275)? 
-  - Mis määrab 7-segmendilise numbernäidiku heleduseKuidas seda reguleerida, kui numbernäidikut juhitakse otse ja läbi ajuri (//driver// - A6275)? +  - What determines the brightness of the 7-segment number-indicatorHow can it be adjusted if the number-indicator is controlled a)directly b)through the driver (//driver// - A6275)? 
-  - Kui 7-segmendiline numbernäidik on kontrolleriga otse ühendatud porti niiet segment A on PA0, B on PA1 ... ja DP on PA7, siis millised on PORTA registri väärtused numbrite 0..9 korral+  - If the 7-segment number indicator is connected directly to the port of the controllerso that the segment A is PA0, B is PA1 ... and DP is PA7, then which are the values of the PORTA register with numbers  0...9? 
-  - Mille poolest erineb alfabeetilise LCD 4-bitiline ja 8-bitiline juhtimimine+  - What is the difference between 4-bit and 8-bit alphabetic LCD controllers?  
-  - Milliste viikude kaudu reguleeritakse alfabeetilise LCD taustavalgust ja kuidas+  - Through which pins and how is the background light of the alphanumerical LCD regulated
-  - Mis andmevahetusprotokolli kasutab graafiline LCD? Selgitage andmevahetusviikude tähendus. +  - Which I/O protocol uses graphic LCD? Explain the meaning of the I/O pins? 
-  - Kuidas teisendada kümnendsüsteemi arvu kahendsüsteemi arvuks (tekstikujuleja vastupidi+  - How can the numbers in decimal system be converted to binary system (to textand vice versa
-  - Joonistage //twisted nematic//-tehnoloogias valmistatud LCD ekraani koostekihid+  - Draw the consisting layers of LCD using //twisted nematic// technology
-  - Kuidas moodustatakse graafilisel LCD-l tähed+  - How are the letters formed on a graphical LCD? 
-  - Mille poolest erineb monokromaatiline (must-valgeja värviline LCD ekraan?+  - How is monochrome (black and white)LCD different from color LCD?
en/exercises/display.1265282341.txt.gz · Last modified: 2020/07/20 09:00 (external edit)
CC Attribution-Share Alike 4.0 International
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0