Updated for more display types.
Fixed memoryaddress confusion in address() method.
Added new getAddress() method.
Added support for UDCs, Backlight control and other features such as control through I2C and SPI port expanders and controllers with native I2C and SPI interfaces.
Refactored to fix issue with pins that are default declared as NC.
Dependents:
GPSDevice
TestTextLCD
SD to Flash Data Transfer
DrumMachine
... more
Fork of
TextLCD
by Simon Ford
1 comment:
I2C Communication
I2C i2c_LCD(PTE0,PTE1); SDA, SCL
I2C i2c_LCD(PTC2,PTC1); SDA, SCL I2C para Display LCD 4x20
SPI Communication
SPI spi_LCD(PTD6,PTD7,PTD5,PTD4); MOSI, MISO, SCLK, SS
-------------
Instanciación del LCD
---------------
- /
LCD instantiation
TextLCD lcd(PTC5, PTC6, PTC8, PTC9, PTC10, PCT11, TextLCD::LCD20x2); 4bit bus: rs, e, d4-d7
TextLCD_SPI lcd(&spi_LCD, PTD4, TextLCD::LCD16x4, TextLCD::HD44780); SPI bus, 74595 expander, CS pin, LCD Type
TextLCD_I2C lcd(&i2c_LCD, 0x7E, TextLCD::LCD20x4); I2C bus, PCF8574A Arduino Shield, LCD Type
I2C Communication I2C i2c_LCD(PTE0,PTE1); SDA, SCL I2C i2c_LCD(PTC2,PTC1); SDA, SCL I2C para Display LCD 4x20
SPI Communication SPI spi_LCD(PTD6,PTD7,PTD5,PTD4); MOSI, MISO, SCLK, SS
----------------------------