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:
parent
0065fb630f
commit
7f7d7b628a
2 changed files with 66 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue