Android:textview automatic scrolling (marquee)TextView implementation of text scrolling requires the following points: 1. Text length is longer than can be displayed range: Android:singleline= "true" 2. Set scroll to, or display style: android:ellipsize= "marquee" 3. TextView The hidden text is only scrolled when the focus is taken, so you need to create a new class in the package to inherit the TextView. O
Reprinted please indicate the source
Author: Pony
There is a 2410 board on hand, LCD is a YL-LCD35. Write a driver analysis, make a technical note for yourself, for future reference.
For chips with On-Chip LCD controllers such as 2410, the most important thing to write an LCD driver is to configure the internal registers. 2410 supports two types of
12864 LCD uses 16*16 lattice, 128 characters (8*16 lattice), and 64*256 lattice display RAM (gdram ). parallel or serial control mode is used with external CPU interface compaction.
The second line of the random number 0-9 displayed on 12864 shows www. csdn. Blog
The third line shows "Seeking for 07 blogs"
The fourth line shows "welcome"
Below is the basic code
# Include # Include # Include # Define uchar unsigned char# Define uint unsigned int# Defi
LCD TV Panel Typeone of the LCD TV panels: tn+film Viewing angle expansion film (soft screen ) This technology is still based on the traditional TN-mode liquid crystal, but only in the manufacturing process to add a film coating process. Tn+film wide-angle technology is the most important feature is the low price, technology access threshold, widely used. In general, the TN panel is an obvious advantage
LCD LCD Monitor:LCD (Liquid Crystal Display), which is constructed in two parallel glass of liquid crystals (liquid crystal), behind the glass, to CCFL cold light tube (similar fluorescent lamp) as backlight. The liquid crystal imaging principle can be simply understood as, the external application of voltage so that the rod-shaped liquid crystal molecules change direction, like a gate to block the backligh
TN,HTN,STN Type LCD screen difference!appearance Differences1.1 TN LCD (Twist nematic Liquid crystal Display) Twisted nematic liquid crystals are generally light gray-bottomed,A glyph or graphic that is displayed as black.The 1.2 HTN LCD (high Twist nematic Liquid Crystal Display) is typically a yellowish green bottom with a highly twisted nematic liquid crystal.
The core structure of the LCD (liquid Crystal Display) is a liquid crystal molecule filled with motion in the middle of two glass substrates. The signal voltage directly controls the switching state of the film Crystal, then uses the transistor to control the liquid crystal molecule, the liquid crystal molecule has the obvious optical anisotropy, can modulate the light emitted from the backlight lamp, realizes the image display. A complete display is
The 12,864-point array liquid crystal display module (LCM) is an array of 128-column *64 rows consisting of a 128*64 LCD display point. Each display point corresponds to a binary number, 1 for light, and 0 for off. The RAM that stores these lattice information is called the Display data memory. To display a graphic or Chinese character is to write the corresponding lattice information to the appropriate storage unit. The lattice information of a graph
Xu: http://blog.csdn.net/hduxyc/article/details/6426463
FSMC stands for static memory controller ".
After the FSMC controller is used, the fsmc_a [25:0] provided by FSMC can be used as the address line, and the fsmc_d [] provided by FSMC can be used as the data bus.
(1) When the storage data is set to 8 bits, (fsmc_nandinitstructure.fsmc_memorydatawidth = fsmc_memorydatawidth_8b)
The address corresponds to fsmc_a [], and the data bit corresponds to fsmc_d []
(2) When the storage dat
The display screen is one of the key hardware of the notebook. Currently, the mainstream screens include LCD and led.
1> LCD features
LCD is the full name of the LCD screen, mainly including TFT, UFB, TFD, STN and other types of LCD display.
TFT is commonly used for noteb
Analog and digital interfaces for LCD display
1. Analog interfaceAnalog and digital video sources have existed for a long time. Analog videos are often used on desktops, while digital videos are popular in laptops. Currently, a large number of computers use analog video output, which ensures that the support of analog interfaces can meet the needs of the next few years. Howev
The operation of the LCD can be like a serial port, through the terminal equipment layer of the package (/dev/tty* device) to output content, you can also through frame buffer (/dev/fb* device) directly on the video memory "Draw" image.
Framework for TTY (terminal equipment) and frame buffer drivers:
Below, according to each layer of the document to explain the above image:
1) Display Driver
2) keyboard Driver
2. Operating example
1) procedure fo
In the Android Apidemo, there is a button merry-go effect, but the change is TextView, or a little difference.
Define MERRY-GO (Marquee), mainly in Project/res/layout/main.xml
Copy Code code as follows:
Android:layout_width= "40px"
android:layout_height= "Wrap_content"
android:text= "Test marquee for TextView"
android:layout_gravity= "Center"
Android:ellipsize= "
The LCD and CPU cables are divided into control lines and data lines. The control lines are generally based on the SPI protocol. We initialize the LCD registers through this. Under the premise that the output format of the main chip is fixed, LCD adjustment is the rest of the initial registers. Generally, we need to care about this part of
to the 4th piece in the Bank1;First look at the interface diagram (Wildfire board)1, why is slice 4?For:Our Lcd_cs is connected to the Fsmc_ne4 4 end of the film (it is plainly: the memory of the liquid crystal and the FSMC to correspond to each other)2, why is block 1?A: Because the ram inside the LCD is equal to nor FLASH, or psram, it is best to use block 13, why is the low-level light on the screen?Answer: LookFor the control of the 38,39 pin, a
First look at the LCD interface how to connect, at this time to find the LCD schematic, see the line arrangement and by looking at the LCD manual to read each pin function assignment. The reading process of the hardware Development Board is a process of accumulating experience. The hardware schematic connection is very simple, just like a building block together.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.