Macro arduboy_rust::arduino_system::progmem::f
source · macro_rules! f { ($string_literal:literal) => { ... }; }
Expand description
This is the way to go if you want print some random text
This doesn’t waste the 2kb ram it saves to progmem (28kb) This automatically saves the given text to the Progmem.
Example
use arduboy_rust::prelude::*;
#[allow(non_upper_case_globals)]
const arduboy: Arduboy2 = Arduboy2::new();
arduboy.print(f!(b"Random text to print\0"))