Test for mike

Dependencies:   mbed DevInterfaces MCP4728 MCP4728setaddr I2Cinterfaces

Committer:
kstokely
Date:
Mon Feb 04 14:24:10 2019 +0000
Revision:
7:e649bb2b6187
Before changing to 4 channel separation

Who changed what in which revision?

UserRevisionLine numberNew contents of line
kstokely 7:e649bb2b6187 1 #include "mbed.h"
kstokely 7:e649bb2b6187 2
kstokely 7:e649bb2b6187 3 class Shutter
kstokely 7:e649bb2b6187 4 {
kstokely 7:e649bb2b6187 5 public:
kstokely 7:e649bb2b6187 6 //Public functions
kstokely 7:e649bb2b6187 7
kstokely 7:e649bb2b6187 8 Shutter( );
kstokely 7:e649bb2b6187 9
kstokely 7:e649bb2b6187 10 void init( DigitalOut* SH1_1, DigitalOut* SH1_2, DigitalOut* SH2_1, DigitalOut* SH2_2, DigitalOut* SH3_1, DigitalOut* SH3_2, DigitalOut* SH4_1, DigitalOut* SH4_2 );
kstokely 7:e649bb2b6187 11 void toggleShutter( int SHnum );
kstokely 7:e649bb2b6187 12
kstokely 7:e649bb2b6187 13 void writeShutters( bool SH1, bool SH2, bool SH3, bool SH4 );
kstokely 7:e649bb2b6187 14
kstokely 7:e649bb2b6187 15 //Public variables
kstokely 7:e649bb2b6187 16 private:
kstokely 7:e649bb2b6187 17 DigitalOut* SH_ARR[8];
kstokely 7:e649bb2b6187 18 //Private funtions
kstokely 7:e649bb2b6187 19
kstokely 7:e649bb2b6187 20 //Private variables
kstokely 7:e649bb2b6187 21 };