Skip to content

A simplified version of Minecraft4k running on the STM32L476RG and interfacing with the ILI9341 display controller.

Notifications You must be signed in to change notification settings

AbramHansen/STM32VR

Repository files navigation

STM32L476RG powered VR

Video Demonstration

3D demo code ported from the JavaScript Version of Minecraft4k by Markus Persson

Software ILI9341 STM32 Driver code

ILI9341 Display Driver Documentation

Pages of note:

how a pixel is sent (16 bit representation): 63
write cycle sequence: 33-35
page address set command: 112

Wiring:

Display 1:

	PA4 - Chip Select (CS / CSX)
	PA1 - Reset
	PA6 - Data/Command (D/CX)
	PA7 - MOSI (SDA / data)
	PA5 - Serial Clock (SCL)

Display 2:

	PC0 - Chip Select
	PC1 - Reset
	PC2 - Data/Command
	PC3 - MOSI
	PB10 - Serial Clock

SPI settings:

Data Size = 8bits
MSB First
Prescaller: 2

About

A simplified version of Minecraft4k running on the STM32L476RG and interfacing with the ILI9341 display controller.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published