Library to use the Kaji-Lab's Electrical Simulator
Dependents: Interference_Simple
KajiLabES.h
- Committer:
- aktk
- Date:
- 2016-02-17
- Revision:
- 0:06a61ec386e8
- Child:
- 3:9110712a0942
File content as of revision 0:06a61ec386e8:
#ifndef KAJIMOTO_LAB_ELECTRIC_STIMULATION_H #define KAJIMOTO_LAB_ELECTRIC_STIMULATION_H #include "mbed.h" class KajiLabES { private: //DAAD SPI _spiDAAD;//(p5, p6, p7); // mosi(master output slave input, miso(not connected), clock signal DigitalOut _DA_sync;//(p8); //chip select for AD5452 DigitalOut _AD_cs;//(p9); //chip select for AD7276 public: //KajiLabES(); KajiLabES( PinName mosi = p5, PinName miso = p6, PinName clk = p7, PinName DA_sync = p8, PinName AD_cs = p9); //~KajiLabES(); //DA&AD at the same time //DA output by AD5452(SPI) //AD input by AD7276(SPI) short DAAD(short DA); void DAADinit(); }; #endif