Fork of LCD-Window which works with Enhanced TextLCD from Wim
Fork of LcdWindow by
Diff: lcd_spi.cpp
- Revision:
- 2:5ac5bab7daaf
- Parent:
- 1:65f72ed914fa
--- a/lcd_spi.cpp Tue Nov 16 20:49:18 2010 +0000
+++ b/lcd_spi.cpp Sat Nov 27 22:54:13 2010 +0000
@@ -28,8 +28,8 @@
#include "wait_api.h"
SPILCDBase::SPILCDBase
-(unsigned int width, unsigned int height, SPI *spi, PinName enable, PinName rs)
-:TextLCDBase(width,height)
+(unsigned int columns, unsigned int rows, SPI *spi, PinName enable, PinName rs)
+:TextLCDBase(columns,rows)
{
_spi=spi;
_enable=new DigitalOut(enable);
