From 205bddb307a1148828ae1cdbc56e960a401834a3 Mon Sep 17 00:00:00 2001 From: Lizzy Hunt Date: Tue, 21 Nov 2023 13:29:11 -0700 Subject: init --- src/main.cpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/main.cpp (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp new file mode 100644 index 0000000..24a5e01 --- /dev/null +++ b/src/main.cpp @@ -0,0 +1,13 @@ +#include "Camera.hpp" +#include + +int main() { + irq_init(NULL); + irq_enable(II_VBLANK); + + REG_DISPCNT = DCNT_MODE4; + + while (1) { + VBlankIntrWait(); + } +} -- cgit v1.2.3-70-g09d2