Module arduboy_rust::prelude

source ·
Expand description

This is the important one to use this library effective in your project

Import the module:

use arduboy_rust::prelude::*;

Modules

  • Functions given by the ArduboyFX library.
  • Consts given by the ArduboyFX library.
  • This is the Module to interact in a save way with the Arduino Serial C++ library.
  • This is the module to interact in a save way with the Sprites C++ library.
  • A list of all tones available and used by the Sounds library Arduboy2Tones

Macros

  • This is the way to go if you want print some random text
  • Create a const raw pointer to a ardvoice tone as u8, without creating an intermediate reference.
  • Create a const raw pointer to a sprite as u8, without creating an intermediate reference.
  • Create a const raw pointer to a [u8;_] that saves text, without creating an intermediate reference.
  • Create a const raw pointer to a tone sequenze as u16, without creating an intermediate reference.
  • Create a space for Progmem variable

Structs

  • This is the struct to interact in a save way with the ArdVoice C++ library.
  • This is the struct to interact in a save way with the Arduboy2 C++ library.
  • This is the struct to interact in a save way with the ArduboyTones C++ library.
  • This struct gives the library a understanding what Buttons on the Arduboy are.
  • This is the struct to store and read structs objects to/from eeprom memory.
  • Use this struct to store and read single bytes to/from eeprom memory.
  • Use this struct to store and read single bytes to/from eeprom memory without using a check digit.
  • A fixed capacity map / dictionary that performs lookups via linear search
  • This struct is used by a few Arduboy functions.
  • This struct is important for the Progmem functionality.
  • This struct is used by a few Arduboy functions.
  • A fixed capacity String
  • A fixed capacity Vec

Enums

  • This item is to chose between Black or White

Constants

Functions

  • A Arduino function to pause the cpu circles for a given amount of ms
  • A Arduino function to get a random number between 2 numbers seed based
  • A Arduino function to get a random number smaller than the number given seed based
  • A C function to get the length of a string

Type Aliases

  • c_size_tExperimental
    Equivalent to C’s size_t type, from stddef.h (or cstddef for C++).
  • Equivalent to C’s char type.
  • Equivalent to C’s double type.
  • Equivalent to C’s float type.
  • Equivalent to C’s signed int (int) type.
  • Equivalent to C’s signed long (long) type.
  • Equivalent to C’s signed long long (long long) type.
  • Equivalent to C’s unsigned char type.
  • Equivalent to C’s unsigned int type.
  • Equivalent to C’s unsigned long type.
  • Equivalent to C’s unsigned long long type.