Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of LcdWindow by
Diff: lcd_spi.h
- Revision:
- 1:65f72ed914fa
- Parent:
- 0:ae5037e3d6e0
- Child:
- 2:5ac5bab7daaf
diff -r ae5037e3d6e0 -r 65f72ed914fa lcd_spi.h
--- a/lcd_spi.h Mon Nov 15 22:37:30 2010 +0000
+++ b/lcd_spi.h Tue Nov 16 20:49:18 2010 +0000
@@ -41,10 +41,10 @@
SPILCDBase(unsigned int width, unsigned int height, SPI *spi, PinName enable, PinName rs);
protected:
- void sendCmd(unsigned char byte);
- void sendData(unsigned char byte);
+ void sendCmd(const unsigned char byte);
+ void sendData(const unsigned char byte);
- void sendByte(unsigned char byte);
+ void sendByte(const unsigned char byte);
SPI* _spi;
DigitalOut *_enable, *_rs;
