AD2ch Module library for MCU Gear with LPC1114. It contains wiring data.
Embed:
(wiki syntax)
Show/hide line numbers
AD2chModuleLPC1114.h
00001 00002 #include "commonALPC1114.h" 00003 00004 class AD2chModule 00005 { 00006 public: 00007 AD2chModule(SPI _spi, PinName _cs, MCUGear *mcugear); 00008 void IODAmodule(MCUGear *mcugear); 00009 int readADm(MCUGear *mcugear, char ch);//manual connection 00010 int readADa(MCUGear *mcugear, char ch);//automatic connection 00011 void initAD2ch(MCUGear *mcugear); 00012 protected: 00013 SPI spi; 00014 DigitalOut cs; 00015 };
Generated on Sun Jul 17 2022 17:48:11 by 1.7.2