Hi,
I haven't found a way to contact the Wokwi people, and I'm not sure I'm using the right place here on the Arduino forum.
If the location is not correct, I ask moderators to direct my post to the correct location. Thanks
When simulating a code to help a friend here,
I encountered a problem with the Wokwi simulator.
I reduced the code to the maximum and still the error happens.
The screen below shows the error, I attach the code that produces the error.
The cause is the arduino.h library included by the library
SpeedyStepper.h.
But it is not possible to include the arduino.h library in the library tab.
#include <arduino.h>
#include <SpeedyStepper.h>
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
If you go to the Library Manager tab on the wokwi simulation, you can type the first few characters and it will turn up SpeedyStepper so you can add it as a library.
At least it does for me. I am a registered user and a supporter, I do know that some stuff is only available to non-anonymous users, so.
Did you try running OP's empty sketch in post 1? I just tried doing this as a free user and I also got the same bug, even when adding in the appropriate library in the library manager, so it sounds like it's a wokwi problem.
wokwi doesn't like <arduino.h> but is cool with <Arduino.h>.
SpeedyStepper includes <arduino.h>, which looks like wokwi's problem with using that library.
Work around and get back to draining the swamp: the SpeedyStepper library is exactly two source files, add both to to your woki project just like you'd do in the IDE. And fix the case sensitivity problem...
Hi,
First I tried the code with the SpeedyStepper.h library using libray manager, without including the arduino.h library.
As the error occurred, I included the arduino.h library in the code.