diff --git a/src/types.hh b/src/types.hh new file mode 100644 index 0000000..2e7f7d0 --- /dev/null +++ b/src/types.hh @@ -0,0 +1,30 @@ +#ifndef HECK_DAISY_TYPES_HH +#define HECK_DAISY_TYPES_HH + +#include +#include "daisy_seed.h" +#include "daisysp.h" + +namespace Heck { + + // Types + using u8 = uint8_t; + using u16 = uint16_t; + using u32 = uint32_t; + using u64 = uint64_t; + + using i8 = int8_t; + using i16 = int16_t; + using i32 = int32_t; + using i64 = int64_t; + + using f32 = float; + using f64 = double; + + // namespace aliases + namespace ld = daisy; + namespace dsp = daisysp; +} // namespace Heck + + +#endif \ No newline at end of file