 |
ESP3D
3.0
Firmware for ESP boards connected to 3D Printer
|
Go to the documentation of this file.
24 #if !(defined( ARDUINO_ARCH_ESP8266) || defined(ARDUINO_ARCH_ESP32))
25 #error Oops! Make sure you have 'ESP8266 or ESP32' compatible board selected from the 'Tools -> Boards' menu.
26 #endif // ARDUINO_ARCH_ESP8266) || defined(ARDUINO_ARCH_ESP32
27 #if defined(ARDUINO_ARCH_ESP8266)
28 #include "ESP8266WiFi.h"
29 #endif //ARDUINO_ARCH_ESP8266
30 #if defined(ARDUINO_ARCH_ESP32)
32 #endif //ARDUINO_ARCH_ESP32
42 static void wait (uint32_t milliseconds);
48 static void pinMode(uint8_t pin, uint8_t mode);
53 static void toneESP(uint8_t pin,
unsigned int frequency,
unsigned int duration,
bool sync =
true);
54 static void no_tone(uint8_t pin);
56 static void wdtFeed();
57 static uint32_t _analogWriteRange;
58 static uint32_t _analogWriteFreq;
59 #if defined(ARDUINO_ARCH_ESP32)
60 static int getAnalogWriteChannel(uint8_t pin);
61 #endif //ARDUINO_ARCH_ESP32
static void wait(uint32_t milliseconds)
static void analogWriteRange(uint32_t range)
static bool is_pin_usable(uint pin)
static float temperature()
static void analogWriteFreq(uint32_t freq)
static bool analogWrite(uint8_t pin, uint value)
static uint16_t getChipID()
static void clearAnalogChannels()
static int analogRead(uint8_t pin)
static bool has_temperature_sensor()
static void pinMode(uint8_t pin, uint8_t mode)
static void toneESP(uint8_t pin, unsigned int frequency, unsigned int duration, bool sync=true)
static void no_tone(uint8_t pin)