Skip to content
Snippets Groups Projects
Commit f6fc8917 authored by David Gauchard's avatar David Gauchard
Browse files

testboard is now wired as official board

parent fade620d
No related branches found
No related tags found
1 merge request!17Malaurie's work on UI + CLI interface + AccelStepper interface
......@@ -16,24 +16,11 @@
#define BTNC 2 // gpio C adafruit feather oled 128x32
#define OLED_I2C 0x3c // adafruit feather oled 128x32
#if !TESTBOARD
// A4988 PINOUT
#define DIR 15 // esp8266 gpio
#define STEP 13 // esp8266 gpio
#define SLEEP 12 // esp8266 gpio
#else // primilinary proto pinout
#warning WARNING NOT LAAS BOARD !
// A4988 PINOUT
#define DIR 12 // esp8266 gpio
#define STEP 13 // esp8266 gpio
#define SLEEP 14 // esp8266 gpio
#endif // proto pinout
#ifndef BAUDRATE
#define BAUDRATE 9600
#endif
......@@ -42,13 +29,6 @@
#define MOTOR_STEPS 200 // 17HS19
#define MICROSTEPS_CONF 16 // hardware configuration: A4988's MS1,MS2,MS3 tied up
#define STEPPER_RPM 60 // some value is necessary for the driver XXXXX see below
#define STEPpS_MIN 2
#define STEPpS_DEFAULT 5
#include <ESP8266WiFi.h> // internal, wifi library
#include <DNSServer.h> // internal, access point mode
#include <Schedule.h>
......
......@@ -7,6 +7,4 @@
#define STASSID "hackaton"
#define STAPSK "WifiLAAS2022" // changeme
#define TESTBOARD 0
#define BAUDRATE 74880
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment