소스 검색

Dev (#1698)

* Toogle between full screen and clip range test
Thomas Mohaupt 7 년 전
부모
커밋
61d20a75e2
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      lua_examples/ucglib/GraphicsTest.lua

+ 3 - 1
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 {