init
This commit is contained in:
17
include/config.h
Normal file
17
include/config.h
Normal file
@@ -0,0 +1,17 @@
|
||||
#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)
|
||||
}
|
||||
Reference in New Issue
Block a user