DIYables 74HC595 4-Digit 7-Segment Display Library

Description

This library is designed for Arduino, ESP32, ESP8266... to control the 74HC595 4-Digit 7-Segment Display LED module, which has 4 dots.

74HC595 4-Digit 7-Segment Display Module

Function References: COMING SOON

  • DIYables_4Digit7Segment_74HC595(int sclk, int rclk, int dio);
  • Void printInt(int number, bool zero_padding);
  • Void printFloat(float number, int decimal_place, bool zero_padding);
  • Void clear();
  • Void setDot(int pos);
  • Void setNumber(int pos, int value);
  • Void setChar(int pos, SegChars value);
  • Void show();
  • Void loop();
Arduino 74HC595 Module Wiring Diagram

This image is created using Fritzing. Click to enlarge image

Product Link: 74HC595 4-Digit 7-Segment Display Module

Features

  • High-Level: Displaying Integer with the zero-padding option, supporting the negative number
  • High-Level: Displaying Float with the decimal place, zero-padding options, supporting the negative number
  • Low-Level: Displaying numeric characters digit-by-digit
  • Low-Level: Displaying non-numeric characters digit-by-digit, including:
    • - (dash)
    • _ (underscore)
    • ° (degree)
    • C
    • E
    • F
  • Low-Level: Displaying dot (decimal place) digit-by-digit

Available Examples

  • DisplayInteger
  • DisplayFloat
  • DisplayTemperature

ARDUINO BUY RECOMMENDATION

Arduino UNO R3
Arduino Starter Kit
Please note: These are Amazon affiliate links. If you buy the components through these links, We will get a commission at no extra cost to you. We appreciate it.

※ OUR MESSAGES