update of the docs and implementing a proper scorebord in snake demo

This commit is contained in:
Zenn 2023-08-14 19:32:34 +02:00
parent c21aa97915
commit 0721c6cc45
5 changed files with 46 additions and 22 deletions

View file

@ -270,6 +270,8 @@ const BUTTON_DELAY: u32 = 200;
pub unsafe extern "C" fn setup() {
// put your setup code here, to run once:
arduboy.begin();
arduboy.audio_on();
arduboy.audio_save_on_off()
}
// The loop() function repeats forever after setup() is done
#[no_mangle]