migrate to c3

This commit is contained in:
osiu97
2026-07-06 19:37:54 +02:00
parent ea4530a5e4
commit 816197bbdd
6 changed files with 38 additions and 37 deletions
+9 -9
View File
@@ -2,7 +2,7 @@
* WijiBoard BLE Stepper Controller Firmware
* src/main.cpp
*
* Board : Waveshare ESP32-S3-Zero (or compatible ESP32-S3)
* Board : Tenstar Robot ESP32-C3 Super Mini (or compatible ESP32-C3)
* Steppers: Two 28BYJ-48 via ULN2003 (AccelStepper, FULL4WIRE mode)
*
* BLE Command Characteristic (WRITE_NR):
@@ -35,16 +35,16 @@
// ─── Motor pin mapping (28BYJ-48 / ULN2003) ──────────────────────
// Motor 1 Shoulder
#define M1_IN1 4
#define M1_IN2 5
#define M1_IN3 6
#define M1_IN4 7
#define M1_IN1 0
#define M1_IN2 1
#define M1_IN3 3
#define M1_IN4 4
// Motor 2 Elbow
#define M2_IN1 8
#define M2_IN2 9
#define M2_IN3 10
#define M2_IN4 11
#define M2_IN1 5
#define M2_IN2 6
#define M2_IN3 7
#define M2_IN4 10
// ─── Stepper constants ────────────────────────────────────────────
#define STEPS_PER_REV 2048