Able to run simulations of cards

This commit is contained in:
Patrick McDonagh
2017-07-27 20:51:22 -05:00
parent 59909df50e
commit df1d2ec893
6 changed files with 284 additions and 48 deletions

21
MuxSetupSim.m Normal file
View File

@@ -0,0 +1,21 @@
classdef MuxSetupSim < handle
properties(Access=private)
mux1Pin=5;
mux2Pin=6;
mux3Pin=13;
digInPin=19;
anOutTriggerPin=23;
dev;
end
properties
setup=[0 0 0; 1 0 0; 0 1 0; 1 1 0; 0 0 1; 1 0 1; 0 1 1; 1 1 1];
spiDevice;
end
methods
function obj = MuxSetupSim(dev)
obj.dev = dev;
end
end
end