You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
832 B
30 lines
832 B
#ifndef HECK_LIBDIZZY_MAIN_FRAMEWORK_PROTO1_HH
|
|
#define HECK_LIBDIZZY_MAIN_FRAMEWORK_PROTO1_HH
|
|
|
|
#include <cstdint>
|
|
#include "daisy_seed.h"
|
|
#include "daisysp.h"
|
|
#include "types.hh"
|
|
|
|
namespace Heck {
|
|
namespace Constants {
|
|
namespace Hardware {
|
|
constexpr int BUT_COUNT = 4;
|
|
constexpr std::array<int, BUT_COUNT> PIN_BUT{ 27, 28, 29, 30 };
|
|
|
|
constexpr int POT_COUNT = 4;
|
|
constexpr std::array<int, POT_COUNT> PIN_POT{ 15, 16, 17, 18 };
|
|
} // namespace Hardware
|
|
|
|
constexpr bool CPU_BOOST480MHZ = false;
|
|
constexpr int AUDIO_BUFFERSIZE = 4;
|
|
constexpr Samplerate AUDIO_SAMPLERATE = Samplerate::SAI_48KHZ;
|
|
|
|
namespace Developer {
|
|
constexpr bool LOG_BLOCKS_BOOT = true;
|
|
}
|
|
} // namespace Constants
|
|
} // namespace Heck
|
|
|
|
|
|
#endif
|