| Crates.io | kywy |
| lib.rs | kywy |
| version | 0.4.0 |
| created_at | 2025-04-19 01:10:32.296187+00 |
| updated_at | 2025-05-10 16:17:19.378342+00 |
| description | Kywy is a simple and easy-to-use library for building games on the Kywy Device |
| homepage | https://kywy.io |
| repository | https://github.com/orgs/KOINSLOT-Inc |
| max_upload_size | |
| id | 1640205 |
| size | 320,086 |
the tiny game device with big possibilities: education, game dev, diy electronics, and more

The hardware features:
The software is designed to give you easy and intuitive access to all of those with only a few lines of code.
Get a kywy on kywy.io
This is an rust library for building out rust programs on the Kywy device it is currently experimental. You can also find the C++/Arduino library on github or in the Ardiuno library manager.
For support, join our discord:
This is a work in progress.
To do:
Implement display driver (LS013B7DH05)
Implement button interface
Implement battery interface
Implement USB serial and reboot
Sprites
Improve battery reading function with real data
Build game engine
Add more documentation
Add more examples/games
Implement SD-card interface (waiting on shared bus support from embedded-sdmmc)
This repo supports vscode environments and code spaces
To build this run:
cargo build --release --target thumbv6m-none-eabi --example <example_name>
replacing <example_name> with one of the .rs files in the examples directory.
To convert to a UF2 file run:
elf2uf2-rs target/thumbv6m-none-eabi/release/examples/<example_name>
you can install elf2uf2-rs by running:
cargo install elf2uf2-rs
(make sure your path is set properly to find the binary)
UF2 file will then be in the directory 'target/thumbv6m-none-eabi/release/examples/'
Note that your code must use the kywy_usb_from! macro to support automatic rebooting. To do this start a baud 1200 terminal on the device.
You can also put the device into programming mode manually:
You can now copy the UF2 to the USB storage device.
use this to add kywy to a rust project:
cargo add kywy
You will need additional setup files, it may be easier to git clone this repo and make a new example file in it.
You can add an example to build directly from this repository by creating or modifying a file in the examples directory.
to start your own project with minimal configuration, download this repository with git clone https://github.com/KOINSLOT-INC/kywy-rust/ you can then add a new example in the examples directory. Build it with the command above in build examples.
Prerequisites:
cargo install elf2uf2-rs