From 61d20a75e24ff0bd5c90acf2b207847c7cea9970 Mon Sep 17 00:00:00 2001 From: Thomas Mohaupt Date: Mon, 2 Jan 2017 21:45:06 +0100 Subject: [PATCH] Dev (#1698) * Toogle between full screen and clip range test --- lua_examples/ucglib/GraphicsTest.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lua_examples/ucglib/GraphicsTest.lua b/lua_examples/ucglib/GraphicsTest.lua index ab65245f..a58a2bf1 100644 --- a/lua_examples/ucglib/GraphicsTest.lua +++ b/lua_examples/ucglib/GraphicsTest.lua @@ -83,9 +83,11 @@ function loop() if ( r > 3 ) then disp:clearScreen() set_clip_range() + else + disp:undoClipRange() end - r = bit.band(r + 1, 255) + r = bit.band(r + 1, 7) end switch(loop_idx) : caseof {