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:44] – 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 ===== | ||
Line 28: | Line 28: | ||
- How many pins uses the 7-segment number-indicator (with point segment), if it is connected directly to the controller? How many pins would be needed if if were controlled through the driver (//driver// - A6275)? | - How many pins uses the 7-segment number-indicator (with point segment), if it is connected directly to the controller? How many pins would be needed if if were controlled through the driver (//driver// - A6275)? | ||
- What determines the brightness of the 7-segment number-indicator? | - What determines the brightness of the 7-segment number-indicator? | ||
- | - If the 7-segment number indicator is connected directly to the controller' | + | - 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 |
- | - Form what aspect are 4-bit and 8-bit controlling of the LCD different? | + | - What is the difference between |
- Through which pins and how is the background light of the alphanumerical LCD regulated? | - Through which pins and how is the background light of the alphanumerical LCD regulated? | ||
- | - What I/O protocol uses graphic LCD? Explain the meaning of the I/O pins? | + | - Which I/O protocol uses graphic LCD? Explain the meaning of the I/O pins? |
- How can the numbers in decimal system be converted to binary system (to text) and vice versa? | - How can the numbers in decimal system be converted to binary system (to text) and vice versa? | ||
- | - Draw the consisting layers of LCD which is built using //twisted nematic// technology. | + | - Draw the consisting layers of LCD using //twisted nematic// technology. |
- How are the letters formed on a graphical LCD? | - How are the letters formed on a graphical LCD? | ||
- | - Mille poolest erineb monokromaatiline | + | - How is monochrome |