all FX functions are now safe wrapped and I added the crate to the docs also it is added to the prelude

This commit is contained in:
ZennDev1337 2023-10-04 14:55:54 +02:00
parent 522844499e
commit b9e517fa21
1649 changed files with 72257 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

View file

@ -0,0 +1,22 @@
#pragma once
/**** FX data header generated by fxdata-build.py tool version 1.07 ****/
using uint24_t = __uint24;
// Initialize FX hardware using FX::begin(FX_DATA_PAGE); in the setup() function.
constexpr uint16_t FX_DATA_PAGE = 0xffc9;
constexpr uint24_t FX_DATA_BYTES = 13937;
constexpr uint24_t arduboyFont = 0x000000;
constexpr uint16_t arduboyFontWidth = 6;
constexpr uint16_t arduboyFontHeight = 8;
constexpr uint16_t arduboyFontFrames = 256;
constexpr uint24_t maskedFont = 0x000604;
constexpr uint16_t maskedFontWidth = 16;
constexpr uint16_t maskedFontHeight = 24;
constexpr uint8_t maskedFontFrames = 128;
constexpr uint24_t helloWorld = 0x003608;

View file

@ -0,0 +1,5 @@
image_t arduboyFont = "arduboyFont_6x8.png"
image_t maskedFont = "maskedFont_16x24.png"
string helloWorld = "Hello World! This example uses the FX::drawString() function to draw text from the FX flash chip."

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB