Skip to content
Snippets Groups Projects
common.h 408 B

#pragma once

#include <Arduino.h>

#if !CORE_MOCK
#include "AccelStepper.h"
#endif

#include <umm_malloc/umm_heap_select.h>

#define MSGHEADER "#CLI: "

extern const char* msgHeader;

void web_setup ();
void web_loop ();

// A4988 PINOUT
#define DIR             15              // esp8266 gpio
#define STEP            13              // esp8266 gpio
#define SLEEP           12              // esp8266 gpio