mirror of
https://github.com/geekammo/MicroView-Arduino-Library.git
synced 2026-02-22 04:21:24 +01:00
(and fixed a few spelling errors in comments) - Use fast pin change macros for RESET, SS and DC. - Implement MVSPI.packetBegin() and MVSPI.packetEnd() to allow sending multiple byte "packets" while SS remains enabled. - Add 2 and 3 byte command() functions to send multiple command bytes in one packet. - Modify clear() and display() functions to send commands and data in packets. - Do the "wait for SPI transfer complete" just before sending the next byte (plus after the last or only byte) in a packet, so code can be executed while bytes are being sent. - Disable SPI mode when not transmitting, so MOSI (and SCK) will go low. - Keep DC low except when sending data bytes. - Change MVSPI.transfer() to void since nothing can be received from the display.
46 KiB
46 KiB