17 lines
486 B
C++
17 lines
486 B
C++
#pragma once
|
|
#include <Arduino.h>
|
|
|
|
namespace Config {
|
|
// Hardware Pins (ESP32-CAM AI-Thinker)
|
|
constexpr int PIN_CAM_PWDN = 32;
|
|
constexpr int PIN_CAM_RESET = -1;
|
|
// ... (Add standard camera pins here to keep main clean) ...
|
|
|
|
// Printer Pins
|
|
constexpr int PIN_PRINTER_RX = 14;
|
|
constexpr int PIN_PRINTER_TX = 15;
|
|
|
|
// Settings
|
|
constexpr int PRINTER_WIDTH = 384;
|
|
constexpr int BAUD_RATE = 9600; // Check your printer specs (some are 19200)
|
|
} |