#pragma once // Cardputer ADV + Cap LoRa-1262 pin map (see docs.m5stack.com). namespace roro::pins { constexpr int kBatteryAdc = 10; // through a 1:2 divider constexpr int kButtonG0 = 0; // SPI bus shared by the microSD card and the LoRa radio. constexpr int kSpiSck = 40; constexpr int kSpiMiso = 39; constexpr int kSpiMosi = 14; constexpr int kSdCs = 12; constexpr int kLoraCs = 5; // The SX1262 on the Cap (as in Meshtastic's board file for the Cardputer ADV). constexpr int kLoraReset = 3; constexpr int kLoraIrq = 4; // DIO1 constexpr int kLoraBusy = 6; } // namespace roro::pins