This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:exercises:display [2010/03/05 15:24] – priitj | en:exercises:display [2020/07/20 09:00] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 10: | Line 10: | ||
- Present numbers in hexadecimal system randomly on the 7-segment display. The frequency is 1 Hz. | - Present numbers in hexadecimal system randomly on the 7-segment display. The frequency is 1 Hz. | ||
- | - Light into circling | + | - Light in circular sequence |
- | - On the alphanumerical | + | - 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. |
- | - Show special symbols on the alphanumerical LCD. Display | + | - Make a program where you can move " |
- Display 10 rows of text on the graphic display which can be scrolled up and down using the buttons S1 and S2. | - Display 10 rows of text on the graphic display which can be scrolled up and down using the buttons S1 and S2. | ||
- | - Make user interface | + | - Make user interface |
===== For advanced ===== | ===== For advanced ===== | ||
- | - Display Greek letters on the graphic LCD. Display the following rows: “Resistance Ω”, “∑R=∑πR²”, | + | - Display Greek letters on the graphic LCD. Display the following rows: “Resistance Ω”, “∑R=∑πR²”, |
- | - Write a converter for converting decimal numbers to binary code. Use buttons S3-S1 for inserting decimal numbers (S3- hundredths, S2 – tenths, S1 – ones) in 10 seconds. For example, | + | - Write a converter for converting decimal numbers to binary code. Use buttons S3-S1 for inserting decimal numbers (S3- hundredths, S2 – tenths, S1 – ones) in 10 seconds. For example, |
- | - Write a function which displays a rectangle on the graphic LCD if the width, length and the coordinates of the top left corner are given. The width of the line is 1 pixel. Check if the rectangle fits inside the screen. It is advised to investigate | + | - Write a function which displays a rectangle on the graphic LCD when the width, length and the coordinates of the top left corner are given. The width of the line is 1 pixel. Check if the rectangle fits inside the screen. It is advised to study the library of the HomeLab. |
- | - Write a simple worm game on the graphic LCD. The width of the worm is 1 pixel and the length is 5 pixels. The worm can be made turning | + | - Write a simple worm game on the graphic LCD. The width of the worm is 1 pixel and the length is 5 pixels. The worm can be made to turn either |
- | - 5. Write a program for displaying different weather | + | - Write a program for displaying different weather |
===== Questions ===== | ===== 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 |