Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed frame.display.clear() as per new firmware #58

Merged
merged 2 commits into from
Jul 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions frame/building-apps.md
Original file line number Diff line number Diff line change
Expand Up @@ -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()
```
Expand Down Expand Up @@ -154,4 +152,4 @@ See also the [test directory](https://github.com/brilliantlabsAR/frame-codebase/

### Font & graphics generation tool

**Details coming soon**
**Details coming soon**
3 changes: 1 addition & 2 deletions frame/lua.md
Original file line number Diff line number Diff line change
Expand Up @@ -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()
```
Expand Down Expand Up @@ -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
| `frame.fpga_write(address, data)` | Writes data to the FPGA at a given address. `data` can be a string containing any byte values