MartinFowler

GN1621 Broken Code LCD Experiment Module#

 
Overview

image

PCB front photo preview

T2.png

PCB backside photo preview

B2.png

Physical welding photos

1.jpg111.png

Connect the photo to the Arduino UNO. The code in the routine is aligned with CS as shown below and inserted into the first No. 0 pin on the right side of the UNO board.

0.jpg3.jpg

Click to watch the full screen demo of adding a third-party library download routine

Add zip library download routine demonstration.gif

The Arduino GN1621 driver library can be downloaded in the attachment column below as the GN1621.zip file.

API 参考:

void begin(int cs_p, int wr_p, int data_p);
// 初始化模块,设置UNO对接模块 #CS 、#WR 、DATA 引脚编号。

void clear(void);
// 清屏。

void print(int num);
// 显示数字。不保留高位的0,比如 0000 只显示 0

void print(int num, int flg);
// 显示数字加显符号,flg传入 3加显三点,2加显冒号,1加显冒号和三点
// 如果需要保留高位的0 则flg传入 参数加0 变成 30,20,10
// 比如 lcd.print(1,20); 显示 00:01 也可以用 lcd.print(0001,20); 功能相同。
// 如果只是需要保留高位的0不加显三点和或冒号,用  lcd.print(1,40);即可显示 0001

void print(float num);
// 显示浮点数 ,自动选择小数点位数.

void display(void);
// 开启显示字符。

void noDisplay(void);
// 关闭字符显示。

void tone(bool STA);
// 控制模块蜂鸣器,STA 传入 true 打开蜂鸣器发声,传入 false 关闭蜂鸣器不发声。
参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-06-24 20:42:11

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
community

Robot
development
community

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号