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:
parent
522844499e
commit
b9e517fa21
1649 changed files with 72257 additions and 0 deletions
BIN
Examples/ArduboyFX/fxhelloworld/fxdata/arduboyFont_6x8.png
Normal file
BIN
Examples/ArduboyFX/fxhelloworld/fxdata/arduboyFont_6x8.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.4 KiB |
BIN
Examples/ArduboyFX/fxhelloworld/fxdata/fxdata.bin
Normal file
BIN
Examples/ArduboyFX/fxhelloworld/fxdata/fxdata.bin
Normal file
Binary file not shown.
22
Examples/ArduboyFX/fxhelloworld/fxdata/fxdata.h
Normal file
22
Examples/ArduboyFX/fxhelloworld/fxdata/fxdata.h
Normal 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;
|
5
Examples/ArduboyFX/fxhelloworld/fxdata/fxdata.txt
Normal file
5
Examples/ArduboyFX/fxhelloworld/fxdata/fxdata.txt
Normal 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."
|
BIN
Examples/ArduboyFX/fxhelloworld/fxdata/maskedFont_16x24.png
Normal file
BIN
Examples/ArduboyFX/fxhelloworld/fxdata/maskedFont_16x24.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.1 KiB |
Loading…
Add table
Add a link
Reference in a new issue