Skip to content

The Arduino library for 74HC595 4-dot 4-digit 7-segment display. It works with Arduino, ESP32, ESP8266.

License

Notifications You must be signed in to change notification settings

DIYables/DIYables_4Digit7Segment_74HC595

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

74HC595 4-Digit 7-Segment Display Library for Arduino - DIYables_4Digit7Segment_74HC595

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

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 Functions

  • 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();

Available Examples

  • DisplayInteger
  • DisplayFloat
  • DisplayTemperature

References

Tutorials

DIYables invests time and resources providing this open source code, please support DIYables hardware by purchasing products from DIYables!

About

The Arduino library for 74HC595 4-dot 4-digit 7-segment display. It works with Arduino, ESP32, ESP8266.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages