| Crates.io | embedded-fps |
| lib.rs | embedded-fps |
| version | 0.1.0 |
| created_at | 2022-06-15 21:46:42.68915+00 |
| updated_at | 2022-06-15 21:46:42.68915+00 |
| description | Frames Per Second counter for embedded devices |
| homepage | https://github.com/LechevSpace/embedded-fps |
| repository | https://github.com/LechevSpace/embedded-fps |
| max_upload_size | |
| id | 606765 |
| size | 54,569 |
embedded-fpsCreate an FPS struct by passing the MAX_FPS (maximum frames per seconds)
that you expect to hit and a embedded_time Clock implementation.
Run the example from the examples directory using:
cargo run --features=std --example fps_counter
embedded-graphicsThis crate is suitable for usage with the embedded-graphics crate
when you want to know, log or even show the frames per second of a
display with an embedded device.
Note: This example requires embedded-graphics-simulator and SDL2 installed
on your machine.
Refer to the embedded-graphics-simulator documentation
for detailed instructions.
You can run this example from the examples directory using:
cargo run --features=std --example fps_counter
std - enables StdClock - a Clock implementation using std for usage on a host machine.Licensed under either of Apache License, Version 2.0 or MIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.