This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
en:exercises:display [2010/02/04 11:19] – external edit 127.0.0.1 | en:exercises:display [2020/07/20 09:00] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
- | 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 | + | * It counts numbers |
- | ===== Algajale | + | ===== For beginner |
- | - Suvalises järjekorras esitada | + | - 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 | + | - 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: | + | - Make a program where you can move "X" |
- | - Graafilisel LCD-l kuvada | + | - Display |
- | - Kolme nupuga teha kasutajaliides teksti sisestamiseks. Näiteks ühe nupuga teha märgi valik, teisega märgi kinnitamine ja kolmandaga teksti lõplik kinnitamine. Teksti maksimaalne pikkus on 10 märki ja tekst tuleb pärast sisestust tagurpidi keerata ning teisel real kuvada. Piirduda võib ladina tähestikuga. LCD omal valikul. | + | - Make user interface using three buttons for inserting text. For example, one button chooses the sign, second verifies the sign and finally the third verifies the text. The maximum length of the text is 10 signs and the text must be turned backwards and displayed on the second row. You may use just Latin alphabet. LCD by own choice. |
- | ===== Edasijõudnule | + | ===== For advanced |
- | - Graafilisel | + | - Display Greek letters on the graphic |
- | - Kirjutada kümnendsüsteemi arvu konverteerija kahendkoodi. Kasuta nuppe S3 - S1 sisestamaks kümnendsüsteemi arvu (S3 - sajalised, S2 - kümnelised, S1 - ühelised) 10 sekundi jooksul. Näiteks | + | - Write a converter for converting decimal numbers to binary code. Use buttons |
- | - Kirjutada funktsioon, mis kuvab graafilisel | + | - Write a function which displays a rectangle on the graphic |
- | - Teha lihtne ussimäng graafilisel | + | - Write a simple worm game on the graphic |
- | - Kirjuta programm erinevate ilmastikunähtuste kuvamiseks graafilisel | + | - Write a program for displaying different weather conditions on the graphic |
- | ===== Kordamisküsimused | + | ===== Questions |
- | - Mitu viiku kasutab | + | - How many pins uses the 7-segment number-indicator |
- | - Mis määrab | + | - What determines the brightness of the 7-segment number-indicator? How can it be adjusted if the number-indicator is controlled a)directly b)through the driver |
- | - Kui 7-segmendiline numbernäidik on kontrolleriga otse ühendatud porti A nii, et segment A on PA0, B on PA1 ... ja DP on PA7, siis millised on PORTA registri väärtused numbrite | + | - If the 7-segment number indicator is connected directly to the port A of the controller, so that the segment A is PA0, B is PA1 ... and DP is PA7, then which are the values of the PORTA register with numbers |
- | - Mille poolest erineb alfabeetilise LCD 4-bitiline ja 8-bitiline juhtimimine? | + | - What is the difference between |
- | - Milliste viikude kaudu reguleeritakse alfabeetilise | + | - Through which pins and how is the background light of the alphanumerical |
- | - Mis andmevahetusprotokolli kasutab graafiline | + | - Which I/O protocol uses graphic |
- | - Kuidas teisendada kümnendsüsteemi arvu kahendsüsteemi arvuks | + | - How can the numbers in decimal system be converted to binary system |
- | - Joonistage | + | - Draw the consisting layers of LCD using //twisted nematic// |
- | - Kuidas moodustatakse graafilisel | + | - How are the letters formed on a graphical |
- | - Mille poolest erineb monokromaatiline | + | - How is monochrome |