เมนู

ซัพพลายเออร์จอสัมผัสแอลซีดี

 

AllDigital
Config PORTC = Output

configuration:
Symbol enablepin = PORTC.0
Symbol clockpin = PORTC.1
Symbol datapin = PORTC.2

declarations:
Dim i As Byte
Dim lcdi As Byte
Dim lcdbyte As Byte
Dim lcdbytetosend As Byte
Dim rs As Bit
Dim flag As Byte
Dim mask As Byte

init:
Gosub initialiselcd

loop:
lcdbytetosend = 32
Gosub writelcddata
lcdbytetosend = “H”
Gosub writelcddata
lcdbytetosend = “e”
Gosub writelcddata
lcdbytetosend = “l”
Gosub writelcddata
lcdbytetosend = “l”
Gosub writelcddata
lcdbytetosend = “o”
Gosub writelcddata
lcdbytetosend = 32
Gosub writelcddata
lcdbytetosend = “W”
Gosub writelcddata
lcdbytetosend = “o”
Gosub writelcddata
lcdbytetosend = “r”
Gosub writelcddata
lcdbytetosend = “l”
Gosub writelcddata
lcdbytetosend = “d”
Gosub writelcddata
lcdbytetosend = “!”
Gosub writelcddata

WaitMs 4000
lcdbytetosend = 0x01 ‘clear screen
Gosub writelcdcommand

WaitMs 2000

Goto loop
End


writelcdnibble:
Low enablepin
Low clockpin
If rs = 1 Then High datapin Else Low datapin

Gosub toggleclockpin

‘shift in 4 bits
mask = 8
For lcdi = 1 To 4
flag = lcdbyte And mask
If flag = 0 Then Low datapin Else High datapin
Gosub toggleclockpin
mask = ShiftRight(mask, 1)
Next lcdi

‘now strobe the clock one more time because ST+SC are tied
Gosub toggleclockpin

‘toggle the enable pin to “flush” the data into the lcd
Low datapin
High enablepin
Low enablepin

Return


toggleclockpin:
‘toggle the clock pin
High clockpin
Low clockpin
Return


writelcddata:
rs = 1
Gosub senddata
Return


writelcdcommand:
rs = 0
Gosub senddata
Return


senddata:
lcdbyte = ShiftRight(lcdbytetosend, 4)
Gosub writelcdnibble
lcdbyte = lcdbytetosend And 15
Gosub writelcdnibble
Return


initialiselcd:
For i = 1 To 3
WaitMs 50
lcdbytetosend = 0x20
Gosub writelcdcommand
Next i

WaitMs 50
lcdbytetosend = 0x28 ‘4 bits, 2 lines, 5×7 font
Gosub writelcdcommand

WaitMs 50
lcdbytetosend = 0x0c ‘display on, no cursors
Gosub writelcdcommand

WaitMs 50
lcdbytetosend = 0x06 ‘entry mode auto-increment
Gosub writelcdcommand

WaitMs 50
lcdbytetosend = 0x01 ‘clear screen
Gosub writelcdcommand

Return

 

lcd touch panel suppliers Production Line
After years of development, in order to better integrate the company’s resources and provide customers with the most advantageous products, in 2016, all the Shenzhen production lines were relocated to Yongzhou, Hunan province. At present, Shenzhen office and Hunan factory have a total of more than 500 employees, with more than 20,000 square meters of standard clean plant.
we’ll ensure you always get
best results
Latest News lcd touch panel suppliers
Touch Screen LCD: A User-Friendly Display Technology
Touch Screen LCD: A User-Friendly Display Technology

Time:2023-6-4

In today's fast-paced world, technology has played a significant role in making our lives easier and more convenient. The touch screen LCD is one of the most popular display technologies that has revolutionized the way we interact with our digital devices. From smartphones to tablets, laptops to monitors, touch screen LCDs have become an essential component of modern-day technology. A touch screen LCD is a display technology that incorporates a touch-sensitive panel as the main input device. It allows users to interact with the device by touching the screen directly instead of using a mouse or keyboard. Unlike traditional displays, touch screen LCDs offer a more intuitive and user-friendly interface that eliminates the need for a separate input device. The technology behind touch screen LCDs is based on the capacitive touch sensor. This sensor uses the electrical charge stored in the human body to detect the touch input. When a user touches the screen, the sensor detects the change in...
3.5-inch LCD Display: Enhancing Your Viewing Experience
3.5-inch LCD Display: Enhancing Your Viewing Experience

Time:2023-6-15

The 3.5-inch LCD display is a popular type of screen used in a variety of devices today, from smartphones and digital cameras to gaming consoles and portable media players. This type of display offers a number of benefits, including a high-quality viewing experience and versatility in terms of size and design. One of the key advantages of the 3.5-inch LCD display is its ability to provide a clear and vibrant image. This is due to the use of liquid crystal technology, which allows for precise control of the display's brightness and contrast levels. Additionally, many devices that use this type of screen also incorporate other advanced features such as high resolution and wide viewing angles, making them ideal for multimedia applications. Another important benefit of the 3.5-inch LCD display is its flexibility in terms of size and design. This type of screen can be found in a range of sizes, from small handheld devices to larger monitors and displays. Additionally,...
Revolutionize Your Display Experience with USB Touch Technology
Revolutionize Your Display Experience with USB Touch Technology

Time:2023-4-23

The display technology has evolved remarkably in recent years, and USB touch technology is one of the most significant advancements. It has revolutionized the way we interact with displays and has made them more intuitive, interactive, and user-friendly. With the help of USB touch technology, you can now turn any ordinary display into a touch screen, which opens up a whole new world of possibilities. USB touch technology is a type of touch screen technology that uses a USB connection to communicate between the touch screen and the computer. It is a plug-and-play solution that is easy to use and requires no additional software or hardware installation. The USB touch screen can be easily connected to any computer that supports USB, and the touch screen functionality can be enabled in just a few clicks. There are several benefits of USB touch technology that make it a popular choice for various applications. One of the primary advantages is its ease of...
Touch Screen Display Module: A Revolutionary Advancement in User Interface Technology
Touch Screen Display Module: A Revolutionary Advancement in User Interface Technology

Time:2023-8-6

Introduction: In today's digital age, user interface technology has become an integral part of our lives. From smartphones to tablets, touch screens have become the primary mode of interaction between humans and digital devices. The touch screen display module is one such revolutionary advancement in this field, offering a seamless and intuitive user experience. This article will explore the various aspects of touch screen display modules and their significance in modern technology. What is a Touch Screen Display Module? A touch screen display module is a sophisticated technology that integrates a touch-sensitive screen with a display panel. It allows users to interact with the device by directly touching the screen, eliminating the need for physical buttons or keyboards. This module comprises several layers, including a touch sensor, a controller, and a display screen. The touch sensor detects the user's touch and relays the information to the controller, which processes the input and sends it to the display screen for rendering....
Touchscreen LCDs: A Revolutionary Display Technology
Touchscreen LCDs: A Revolutionary Display Technology

Time:2023-6-14

In today's technological era, touchscreens are ubiquitous. From smartphones to laptops, touchscreens are almost everywhere. Touchscreens have completely revolutionized the way we interact with our devices. The touchscreens are an integral part of LCDs (Liquid Crystal Displays) that have become the preferred display technology for many consumer electronics such as TVs, monitors, and smartphones. In this article, we will discuss touchscreen LCDs and how they have become a revolutionary display technology. What are Touchscreen LCDs? A touchscreen LCD is a display technology that combines a liquid crystal display (LCD) with a touch-sensitive overlay. The liquid crystal display uses the principle of polarization to control the direction and intensity of the light that passes through the glass cell. The touch-sensitive overlay, on the other hand, is a transparent layer placed over the LCD that detects and responds to touch inputs. This overlay can be either resistive or capacitive. Resistive touchscreen LCDs use a two-layer structure, whereby the layers are separated by...
Exploring the Functionality of 4 Wire Resistive Touch Screens
Exploring the Functionality of 4 Wire Resistive Touch Screens

Time:2023-6-17

Introduction 4 wire resistive touch screens are commonly found in various devices, such as smartphones, tablets, and GPS systems. These types of touch screens are widely used due to their simple design, high durability, and cost-effectiveness. However, many users do not understand the functionality of this technology and how it works. In this article, we will explore the functionality of 4 wire resistive touch screens and how they work. What is a 4 wire resistive touch screen? A 4 wire resistive touch screen is a type of touch screen that relies on pressure to detect touch input. The touch screen is composed of multiple layers, including two thin metallic layers separated by a thin gap. The top layer is coated with a transparent conductive material, while the bottom layer is coated with a resistive material. When a user touches the screen, the layers come into contact, and the resistance of the bottom layer changes. How does it work? The touch...
TFT LCD Touch Screen: The Future of Interactive Display Technology
TFT LCD Touch Screen: The Future of Interactive Display Technology

Time:2023-6-19

The advent of touch screen technology has revolutionized the way we interact with digital devices. From smartphones to tablets, touch screens have become an integral part of our everyday lives. One of the most popular types of touch screen technology is the TFT LCD touch screen. In this article, we will explore what TFT LCD touch screens are, how they work, and why they are the future of interactive display technology. What is a TFT LCD Touch Screen? TFT LCD stands for Thin Film Transistor Liquid Crystal Display. It is a type of LCD screen that uses thin film transistor technology to improve image quality and response time. TFT LCD displays are commonly used in computer monitors, televisions, and mobile devices. A TFT LCD touch screen is a display that is sensitive to touch. It allows users to interact with the device by touching the screen instead of using a keyboard or mouse. TFT LCD touch screens can detect the...
Revolutionizing the Way We Interact with Technology: The Pen Touch Display
Revolutionizing the Way We Interact with Technology: The Pen Touch Display

Time:2023-5-25

In today's digital age, technology plays an integral role in our lives. From smartphones to smart homes, we rely on technology to keep us connected, productive, and entertained. But as technology continues to evolve, so too do our expectations for how we interact with it. Gone are the days of clunky keyboards and mouse pads. Instead, we demand intuitive and natural interfaces that allow us to interact with technology in a way that feels seamless and effortless. One of the most promising new technologies in this regard is the pen touch display. This innovative technology combines the precision of a stylus with the natural feel of pen and paper, allowing for a more intuitive and immersive interaction with digital devices. With a pen touch display, users can sketch, write, draw, and annotate directly on the screen, making it an ideal solution for artists, designers, educators, and business professionals alike. So how does a pen touch display work? Essentially, it is...
สินค้ายอดนิยม