Skip to content

SocialSisterYi/VFD_13-ST-84GINK

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VFD_13-ST-84GINK

VFD模组13-ST-84GINK Arduino 驱动库

MCU与VFD模组通过软件SPI进行通讯

Usage

构造对象:

VFD::VFD(uint8_t RSTpin/*复位引脚*/,uint8_t CSpin/*片选引脚*/,uint8_t SCLpin/*SPI时钟*/,uint8_t SDApin/*SPI数据*/);

初始化:

void VFD::begin();

写一个字符:

size_t VFD::write(uint8_t chr);

写字符串或数字(继承了内建class Print):

void VFD::print(...);

设置DRAM偏移量:

void VFD::set_offset(int offset);

软件清屏:

void VFD::clear();

写用户字符到CGRAM:

void VFD::write_CGRAM(uint8_t addr,uint8_t *val);

设置亮度:

void VFD::set_brightness(uint8_t val);

开启显示:

void VFD::on();

关闭显示:

void VFD::off();

设置ICON开关:

void VFD::set_ICON(uint8_t id,bool on);

DEMO

Datasheet

DEMO Schenatic

Testing:

IMG_20210615_232715

About

VFD Module Futaba 13-ST-84GINK Arduino Driver Library

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages