Hi there,
I'm experiencing weird behavior in my step / dir signal generation code that I'm running on an ESP32 S2 (Adafruit feather).
For a minimum reproducible example, I generate constant velocity signals in a very simple loop:
#define DIR_PIN 5
#define EN_PIN 6
#define STEP_PIN 9
void setup ...
Search found 2 matches
- Sun Feb 23, 2025 10:42 pm
- Forum: ESP-IDF
- Topic: IO pause every 2 seconds for roughly 5 ms
- Replies: 1
- Views: 409
- Tue Mar 14, 2023 11:50 pm
- Forum: ESP32 Arduino
- Topic: Working with large floating point numbers.
- Replies: 1
- Views: 4856
Working with large floating point numbers.
Hello there,
I'm struggling with calculations involving large floats. Running the following code on my Wemos Lolin32 Lite on Arduino featuring an ESP-32 Rev1
double test = 2.;
void setup() {
// put your setup code here, to run once:
Serial.begin(31250);
}
void loop() {
// put your main code ...
I'm struggling with calculations involving large floats. Running the following code on my Wemos Lolin32 Lite on Arduino featuring an ESP-32 Rev1
double test = 2.;
void setup() {
// put your setup code here, to run once:
Serial.begin(31250);
}
void loop() {
// put your main code ...