1
0
Fork 0
mirror of https://github.com/ctruLua/ctrulua.github.io.git synced 2025-10-27 16:39:30 +00:00

Quick test with Jekyll

This commit is contained in:
Firew0lf 2015-10-23 22:43:53 +02:00
parent 2653e46597
commit c2d62372ef
12 changed files with 600 additions and 8 deletions

View file

@ -0,0 +1,23 @@
---
layout: post
title: "TEST"
date: 2015-10-23 00:00:00
categories: status
---
<pre><code>local ctr = require("ctr")
local gfx = require("ctr.gfx")
local hid = require("ctr.hid")
while ctr.run() do
hid.read()
local keys = hid.keys()
if keys.held.start then break end
gfx.startFrame(gfx.GFX_TOP)
gfx.text(2, 2, "TEST")
gfx.endFrame()
gfx.render()
end
</code></pre>