เมนู

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

 

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
ยกระดับประสบการณ์ผู้ใช้ของคุณด้วยจอภาพหน้าจอสัมผัสขนาด 8 นิ้ว
ยกระดับประสบการณ์ผู้ใช้ของคุณด้วยจอภาพหน้าจอสัมผัสขนาด 8 นิ้ว

Time:2023-6-29

In today's digital age, user experience is a crucial aspect of any technology. Whether it is smartphones, tablets, or computers, the ability to interact seamlessly with a device is of utmost importance. One technology that has revolutionized user experience is touch screen monitors. Among the various sizes available in the market, 8-inch touch screen monitors have gained significant popularity. In this article, we will explore the benefits of using these compact yet powerful devices and how they can enhance your user experience. First and foremost, 8-inch touch screen monitors provide a more immersive and intuitive user interface. With a simple touch, users can effortlessly navigate through various applications and menus. This eliminates the need for a separate mouse or keyboard, simplifying the overall user experience. The touch screen technology allows for direct interaction, making it easier to perform tasks such as scrolling, zooming, and selecting options. Whether you are using it for gaming, browsing the web, or watching videos, the...
10-Inch Raspberry Pi Touch Screen: Enhance Your Pi Experience
10-Inch Raspberry Pi Touch Screen: Enhance Your Pi Experience

Time:2023-6-18

The Raspberry Pi has become one of the most popular single-board computers in the world. It has gained a reputation for being a versatile and affordable device that can be used for a wide range of applications. One of the most exciting accessories for the Raspberry Pi is the 10-inch touch screen. In this article, we will explore the benefits of using a touch screen with your Raspberry Pi and why the 10-inch touch screen is a great choice. Firstly, let's talk about the benefits of using a touch screen with your Raspberry Pi. The most obvious advantage is that it makes the device much more user-friendly. You no longer need to use a keyboard and mouse to interact with your Raspberry Pi, as you can simply use your fingers to navigate the interface. This is especially useful if you are using your Raspberry Pi as a media center, as it allows you to easily browse through your music and...
TFT LCD Touch Screen: Enhancing User Experience with Advanced Display Technology
TFT LCD Touch Screen: Enhancing User Experience with Advanced Display Technology

Time:2023-6-9

In today's world, technology is advancing at an unprecedented rate and is becoming an integral part of our daily lives. One of the areas where technology has made a significant impact is in the field of display screens. TFT LCD touch screens are a prime example of advanced display technology that has revolutionized the way people interact with electronic devices. TFT stands for Thin Film Transistor, which is a type of technology that allows for sharper, more vibrant, and more responsive displays. TFT LCD touch screens are widely used in smartphones, tablets, laptops, and other mobile devices. These screens are known for their excellent color reproduction, high resolution, and wide viewing angles. One of the main advantages of TFT LCD touch screens is their ability to provide a more immersive and engaging user experience. These screens are highly responsive, enabling users to interact with devices in real-time, with just a tap or swipe of a finger. The touch screen technology...
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...
Touch Screen USB Kit: Enhancing Interaction and Ease of Use
Touch Screen USB Kit: Enhancing Interaction and Ease of Use

Time:2023-10-14

Introduction: The Touch Screen USB Kit is a revolutionary technology that has transformed the way we interact with electronic devices. Its ability to provide a seamless and intuitive user experience has made it increasingly popular in various industries. In this article, we will explore the features and benefits of the Touch Screen USB Kit and its impact on enhancing interaction and ease of use. 1. What is the Touch Screen USB Kit? The Touch Screen USB Kit is a hardware and software solution that enables any standard display screen to become a touch-sensitive interface. By simply attaching a USB cable and installing the necessary drivers, users can transform their regular screens into interactive touchscreens. This innovative technology has opened up a world of possibilities in terms of user interface design and functionality. 2. Enhanced Interaction: One of the significant advantages of the Touch Screen USB Kit is the enhanced interaction it offers. Traditional input devices such as keyboards and mice...
TFT Screen: A High-Quality Display Solution for Modern Devices
TFT Screen: A High-Quality Display Solution for Modern Devices

Time:2023-6-16

In today's era of technology, devices like smartphones, tablets, laptops, and gaming consoles have become an integral part of our lives. These devices have revolutionized the way we communicate, work, and entertain ourselves. However, one of the key factors that determine the usability of such devices is the quality of their display screens. A display screen is a vital component of any device as it is the interface between the user and the device. A poor quality screen can ruin the user experience and make the device unusable. Therefore, manufacturers are always looking for the latest display technologies to improve the user experience. One such display technology that has gained immense popularity in recent years is the TFT (Thin-Film Transistor) screen. TFT screens are known for their high-quality visuals, fast response times, and low power consumption. They have revolutionized the display industry by providing a superior display solution for modern devices. TFT screens are made up of several layers of...
สำรวจโลกของจอสัมผัส LCD
สำรวจโลกของจอสัมผัส LCD

Time:2023-8-25

It is almost impossible to imagine our lives without LCD touch panels. From smartphones and tablets to interactive displays and ATM machines, these panels have become an integral part of our daily lives. But have you ever wondered how these touch panels work and what makes them so popular? In this article, we will delve into the world of LCD touch panels and explore their fascinating features and applications. Let's understand the basics of LCD technology. LCD stands for Liquid Crystal Display, which is a flat panel display technology that uses liquid crystals to produce images. The LCD touch panel is an extension of this technology and includes an additional layer that enables touch sensitivity. This layer is typically made of a transparent material such as indium tin oxide (ITO) and is placed on top of the LCD screen. One of the key components of an LCD touch panel is the touch sensor. There are different types of touch sensors...
จอแสดงผลโมดูล TFT LCD: ยกระดับประสบการณ์การมองเห็นด้วยเทคโนโลยีคุณภาพสูง
จอแสดงผลโมดูล TFT LCD: ยกระดับประสบการณ์การมองเห็นด้วยเทคโนโลยีคุณภาพสูง

Time:2023-5-25

TFT LCD module displays are becoming increasingly popular in the world of technology. TFT stands for Thin Film Transistor, which is a type of technology that is used to create high-quality displays. These displays are used in a wide range of devices, including smartphones, laptops, televisions, and more. In this article, we will explore the benefits of TFT LCD module displays and how they are enhancing the visual experience for users. One of the primary benefits of TFT LCD module displays is their high resolution. These displays can produce images with a high level of detail, which makes them ideal for tasks such as photo editing, gaming, and video playback. Additionally, TFT LCD module displays have a wider viewing angle than other types of displays, which means that users can see the screen clearly from different angles. Another benefit of TFT LCD module displays is their energy efficiency. These displays consume less power than other types of displays, which makes...
สินค้ายอดนิยม