Me Here
/
NHD_SPI_LCD_LIB
NHD SPI LCD Library Code Rev 0.0
Diff: SPI-LCD.cpp
- Revision:
- 0:bf98376a4718
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/SPI-LCD.cpp Sat Oct 24 23:40:10 2015 +0000 @@ -0,0 +1,17 @@ +#include "SPI-LCD.h" + +#include "mbed.h" + +using namespace mbed; + + +SPILCD::SPILCD(PinName mosi, PinName miso, PinName sclk, PinName ssel) : _mosi(mosi), _miso(miso), _sclk(sclk) _ssel(ssel) { + //_mosi=1; + //_miso=1; + //_sclk=1; + +} + +SPILCD::init() { + //_ssel=0; //Select the device +} \ No newline at end of file