MCUGear 12bit AD 8ch module for LPC1114. It contains wiring data.
Embed:
(wiki syntax)
Show/hide line numbers
AD8chModuleLPC1114.h
00001 00002 #include "commonALPC1114.h" 00003 00004 class AD8chModule 00005 { 00006 public: 00007 AD8chModule(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 initAD8ch(MCUGear *mcugear); 00012 protected: 00013 SPI spi; 00014 DigitalOut cs; 00015 };
Generated on Sun Jul 17 2022 17:49:02 by 1.7.2