Giter Club home page Giter Club logo

vfd_13-st-84gink's Introduction

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

vfd_13-st-84gink's People

Contributors

socialsisteryi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.