Skip to content

A lightweight, low memory consuming CD74HC4067 Library for Arduino IDE based microcontrollers

License

Notifications You must be signed in to change notification settings

SunitRaut/Lightweight-CD74HC4067-Arduino

Repository files navigation

A Lightweight Library for CD74HC4067 - Arduino

GitHub release license DOI

A lightweight, low memory consuming CD74HC4067 Library for Arduino IDE based microcontrollers

Features

  • Lightweight
  • Consumes much less memory (RAM) compared to other CD74HC4067 libraries
  • Easy to use

How to Use Library

Include the library in sketch

#include <light_CD74HC4067.h>

Create a new CD74HC4067 object, specifying the select pins, s0 s1, s2, s3.

CD74HC4067 mux(4, 5, 6, 7); // mux(s0,s1,s2,s3), where s3 is the highest select line (MSB)

Set the channel using the channel() method

mux.channel(8);    // Enter channel numbers from 0 - 15

Here is an instructable with simple example

If you Like my Work, Buy me a Coffee!

If this library makes your life easier and has helped bring your project to reality, I would appreciate a small token of gratitude. Click on the below icon to contribute.

Buy Me A Coffee

About

A lightweight, low memory consuming CD74HC4067 Library for Arduino IDE based microcontrollers

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages