2023-08-06 18:14:49 +02:00
|
|
|
#![no_std]
|
|
|
|
#![allow(non_upper_case_globals)]
|
2023-08-07 16:28:11 +02:00
|
|
|
|
2023-08-06 18:14:49 +02:00
|
|
|
//Include the Arduboy Library
|
|
|
|
#[allow(unused_imports)]
|
|
|
|
use arduboy_rust::prelude::*;
|
|
|
|
|
2023-08-07 18:17:52 +02:00
|
|
|
// Progmem data
|
|
|
|
|
|
|
|
// dynamic ram variables
|
2023-08-06 18:14:49 +02:00
|
|
|
|
|
|
|
// The setup() function runs once when you turn your Arduboy on
|
|
|
|
#[no_mangle]
|
|
|
|
pub unsafe extern "C" fn setup() {
|
|
|
|
// put your setup code here, to run once:
|
|
|
|
}
|
2023-08-07 18:17:52 +02:00
|
|
|
|
2023-08-06 18:14:49 +02:00
|
|
|
// The loop() function repeats forever after setup() is done
|
|
|
|
#[no_mangle]
|
|
|
|
#[export_name = "loop"]
|
|
|
|
pub unsafe extern "C" fn loop_() {
|
|
|
|
// put your main code here, to run repeatedly:
|
|
|
|
}
|