Interact with the display

Enable the SPI bus to configure the display and program its ram. For
that the fastest available SPI clock is used. To configure the display
a minimal config is used which is not identical but similar to the
displays datasheet. The display can only be filled columnwise so far.
This commit is contained in:
finga 2021-02-27 02:26:57 +01:00
parent 0065fb630f
commit 7f7d7b628a
2 changed files with 66 additions and 1 deletions

View file

@ -24,7 +24,7 @@ $(BIN): $(OBJ)
$(CC) $(CFLAGS) $< -o $@
%.o: %.c
$(CC) $(CFLAGS) -Os -c $< -o $@
$(CC) $(CFLAGS) -c $< -o $@
.PHONY: flash clean check size