added the f!() macro to the library to make shure that all random text can be written to the progmem to save the important ram
This commit is contained in:
parent
b00ee76ef1
commit
990ae0c03c
11 changed files with 71 additions and 97 deletions
|
@ -14,6 +14,10 @@ use arduboy_rust::prelude::*;
|
|||
#[no_mangle]
|
||||
pub unsafe extern "C" fn setup() {
|
||||
// put your setup code here, to run once:
|
||||
arduboy.begin();
|
||||
arduboy.clear();
|
||||
arduboy.print(f!(b"hello boys\0"));
|
||||
arduboy.display();
|
||||
}
|
||||
|
||||
// The loop() function repeats forever after setup() is done
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue