Skip to content
This repository has been archived by the owner on Aug 14, 2020. It is now read-only.

muonTelescope/shiftRegister

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shift Register Libray

C++ Wiring Pi library for 74xx595 shift register.

Example

#include <stdio.h>
#include <stdlib.h>
#include <wiringPi.h>

#include "shiftRegister.h"

#define SRDATA 23 // Header Pin 33, GPIO13, Wiring Pi Pin 23
#define SRCLK 25  // Header Pin 37, GPIO26, Wiring PI Pin 25
#define RCLK 27   // Header Pin 36, GPIO16, Wiring PI Pin 27

int main (int argc, char** argv){
  shiftRegister *shift = new shiftRegister(SRDATA, SRCLK, RCLK);
  shift->chipSelect(5);
  return 0;
}

Archived

Archived since shift register is not used in revison 1.3.

About

Wiring Pi library for controlling the 74xx595 Shift registers.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published