Witam
Próbuje zainicjować pracę wyświetlacza po SPI
Mam taki opis:
Tutaj jest mój kod
Czy konfiguracja SPI jest porawna ??
Czy to jest w jakimś stopniu poprawne ??
Próbuje zainicjować pracę wyświetlacza po SPI
Mam taki opis:
Initialization
This is an inizialisation example for single supply +3V / +3.3V supply with internal booster on.
1. RESET-pin must be set to high (as along as the pin RESET is low, nothing works).
2. CS-pin must be set to low (It can be written to the display, display input buffer is cleared).
3. A0-pin must be set to low (The display is prepared to receive command data).
4. Display software initialization. Note that initialization commands depending on circuit diagram, please refer to page 6 in the displays data sheet for single supply or dual supply. Following initialization is made for single supply operation with +3,3V:
4.1 Send hex 40 to the display: Display start line = 0
4.2 Send hex A1 to the display: ADC reverse, 6 o'clock viewing direction
4.3 Send hex C0 to the display: COM0 – COM63 in normal scan mode
4.4 Send hex A6 to the display: Display normal, not mirrored
4.5 Send hex A2 to the display: Set bias 1/9 (Duty 1/65)
4.6 Send hex 2F to the display: Booster, regulator and follower on
4.7 Send hex F8 to the display: Set internal booster to 4x
4.8 Send hex 00 to the display: Set internal booster to 4x
4.9 Send hex 27 to the display: Contrast set
4.10 Send hex 81 to the display: Contrast set
4.11 Send hex 16 to the display: Contrast set
4.12 Send hex AC to the display: No indicator
4.13 Send hex 00 to the display: No indicator
4.14 Send hex AF to the display: No indicator
5. End of Initialization set the CS-pin to high again.
Tutaj jest mój kod
Kod: text
Czy konfiguracja SPI jest porawna ??
Czy to jest w jakimś stopniu poprawne ??