Skip to content

Latest commit

 

History

History
50 lines (41 loc) · 2.31 KB

File metadata and controls

50 lines (41 loc) · 2.31 KB

Output Library for Arduino - ezOutput

This library is designed for Arduino, ESP32, ESP8266... to control the states of digital output pins (HIGH, LOW, TOGGLE, PULSE, BLINK_WITHOUT_DELAY). It is easy to use with multiple output pins to control multiple LED, relay... It is designed for not only beginners but also experienced users.

ezOutput stands for easy output, which mean that the library is easy to use.

Features

  • Support HIGH, LOW, PULSE and TOGGLE
  • Support get state of output pin
  • Supports blink without delay
  • All functions are non-blocking
  • Easy to use with multiple output pins
  • Support time offset in blink multiple output pins

Available Functions

  • ezOutput(int pin)
  • void high(void)
  • void low(void)
  • void toggle(void)
  • void toggle(unsigned long delayTime)
  • void pulse(unsigned long pulseTime)
  • void pulse(unsigned long pulseTime, unsigned long delayTime)
  • void blink(unsigned long lowTime, unsigned long highTime)
  • void blink(unsigned long lowTime, unsigned long highTime, unsigned long delayTime)
  • void blink(unsigned long lowTime, unsigned long highTime, unsigned long delayTime, long blinkTimes)
  • int getState(void)
  • void loop(void)

Available Examples

How To Install the Library

References