update of the docs and readme

This commit is contained in:
ZennCode 2023-08-08 08:36:49 +02:00
parent 24f794ce8a
commit 2287869945
4 changed files with 33 additions and 14 deletions

View file

@ -1,9 +1,10 @@
//! This is the imported one to use this library effective in your project
//! This is the important one to use this library effective in your project
pub use crate::library::arduboy::Arduboy;
pub use core::ffi::{
c_char, c_double, c_float, c_int, c_long, c_longlong, c_size_t, c_uchar, c_uint, c_ulong,
c_ulonglong,
};
#[doc(hidden)]
pub use core::ptr::addr_of;
///The main [Arduboy] struct ready to use in your project
#[allow(non_upper_case_globals)]
@ -12,11 +13,12 @@ pub const arduboy: Arduboy = Arduboy {};
#[allow(non_upper_case_globals)]
pub const sound: Sound = Sound {};
pub use crate::hardware::buttons::*;
pub use crate::library::arduboy::{Color, Point, Pstring, Rect, FONT_SIZE, HEIGHT, WIDTH};
pub use crate::library::arduboy::{Color, Point, Rect, FONT_SIZE, HEIGHT, WIDTH};
pub use crate::library::arduboy_tone::*;
pub use crate::library::arduino::*;
pub use crate::library::c::*;
pub use crate::library::eeprom::EEPROM;
pub use crate::library::progmem::Pstring;
pub use crate::library::sprites;
pub use crate::print::*;
pub use crate::{f, get_sprite_addr, get_string_addr, get_tones_addr, progmem};