From 2b00316ce3ffc365062620552652be9c2c7ac59b Mon Sep 17 00:00:00 2001 From: uma-shankar-TE <114498078+uma-shankar-TE@users.noreply.github.com> Date: Wed, 17 Jul 2024 11:32:31 +0530 Subject: [PATCH 1/2] Update building-apps.md --- frame/building-apps.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/frame/building-apps.md b/frame/building-apps.md index 677da55..00403f4 100644 --- a/frame/building-apps.md +++ b/frame/building-apps.md @@ -30,13 +30,11 @@ Once you have AR Studio installed, you can try an example using the following st ```lua function change_text() - frame.display.clear() frame.display.text('Frame tapped!', 50, 100) frame.display.show() end frame.imu.tap_callback(change_text) - frame.display.clear() frame.display.text('Tap the side of Frame', 50, 100) frame.display.show() ``` @@ -154,4 +152,4 @@ See also the [test directory](https://github.com/brilliantlabsAR/frame-codebase/ ### Font & graphics generation tool -**Details coming soon** \ No newline at end of file +**Details coming soon** From 0b2d473b5ade4a1a40ef4aa10d90a692a4819192 Mon Sep 17 00:00:00 2001 From: uma-shankar-TE <114498078+uma-shankar-TE@users.noreply.github.com> Date: Wed, 17 Jul 2024 11:33:01 +0530 Subject: [PATCH 2/2] Update lua.md --- frame/lua.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/frame/lua.md b/frame/lua.md index 6a4e0d0..080628b 100644 --- a/frame/lua.md +++ b/frame/lua.md @@ -52,7 +52,6 @@ The Frame display is capable of rendering up to 16 colors at one time. These col ```lua -- Display 'Hello world' at x = 50 and y = 100 -frame.display.clear() frame.display.text('Hello world', 50, 100) frame.display.show() ``` @@ -293,4 +292,4 @@ The system API provides miscellaneous functions such as `sleep` and `update`. It |:---------|:------------| | `frame.stay_awake(enable)` | Prevents Frame from going to sleep while it's docked onto the charging cradle. This can help during development where continious power is needed, however may degrade the display or cause burn-in if used for extended periods of time | `frame.fpga_read(address, num_bytes)` | Reads a number of bytes from the FPGA at the given address -| `frame.fpga_write(address, data)` | Writes data to the FPGA at a given address. `data` can be a string containing any byte values \ No newline at end of file +| `frame.fpga_write(address, data)` | Writes data to the FPGA at a given address. `data` can be a string containing any byte values