Skip to content

muonTelescope/max1932

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MAX1932 Libray

C++ Wiring Pi library for Maxim's MAX1932 APD bias supply.

Example

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

#include "max1932.h"

// HV chip select GPIO5, Header Pin 29, Wiring pi Pin 21
#define CS_PIN 21
#define SPI_CHANNEL 0

int main (){
  MAX1932 *hv = new MAX1932(CS_PIN, SPI_CHANNEL);
  hv->setByte(0xAE);
  return 0;
}

Voltage Curves

Calculation

About

Library for controlling max1932 through wiringPi

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published