FastArduino v1.10
C++ library to build fast but small Arduino/AVR projects
|
API to handle Nokia 5110 display through SPI interface (actually not really SPI as only MOSI, not MISO, pin is used for data transfer). More...
#include <string.h>
#include "../bits.h"
#include "../flash.h"
#include "../gpio.h"
#include "../spi.h"
#include "../time.h"
#include "display.h"
#include "font.h"
Go to the source code of this file.
Classes | |
class | devices::display::LCD5110< SCE, DC, RST > |
SPI device driver for Nokia 5110 display chip. More... | |
Namespaces | |
namespace | devices |
Defines all API for all external devices supported by FastArduino. | |
namespace | devices::display |
Defines generic API for all display devices. | |
Enumerations | |
enum class | devices::display::TemperatureCoefficient : uint8_t { devices::display::TC0_1mV_K = 0x04 , devices::display::TC1_9mV_K = 0x05 , devices::display::TC2_17mV_K = 0x06 , devices::display::TC3_24mV_K = 0x07 } |
Possible temperature coeeficient that can be set on Nokia5110 display. More... | |
API to handle Nokia 5110 display through SPI interface (actually not really SPI as only MOSI, not MISO, pin is used for data transfer).
Note that PCD8544 chip used in Nokia 5110 is powered at 3.3V and does not bear 5V voltage from pins of most Arduino. Hence, all signals from Arduino output pins must be converted from 5V to 3.3V, for this you will need a level converter:
Example wiring for Arduino UNO (with CD74HC4050):
Definition in file lcd5110.h.