AccelStepper Examples will not load

I use the AccelStepper examples with my Mega and Uno but they
are not loading on my Giga.

Is this because of the Giga?

Hi @Ralphpdq. Please add a forum reply here that provides a detailed explanation of what you mean by "not loading", including:

  • What did you do?
  • What were the results you expected from doing that thing?
  • What were the results you observed that did not match your expectations?

Make sure to include the full and exact text of any error or warning messages you might have encountered.

I just clicked on the application. Usually that opens the file. Other examples I just click on the application and the file opens.

The files do not open!
Thanks for the reply!
Ralph

That is still very vague. You really need to make a stronger effort in communication if you want to have success in getting assistance in technical matters here on the forum.

If by "click on the application", you mean selecting the example from the File > Examples > Accelstepper menu, then you are affected by this bug:

Or maybe you are referring to opening the sketch file by file association? I see there is a similar bug with the sketch files that have the .pde file extension when doing that.

Either way, the workaround is to use File > Open... to open the sketch:

  1. Select File > Preferences... (or Arduino IDE > Settings... for macOS users) from the Arduino IDE menus.
    The "Preferences" dialog will open.
  2. Take note of the path shown in the "Sketchbook location" field of the dialog.
  3. Click the "CANCEL" button.
    The "Preferences" dialog will close.
  4. Select File > Open... from the Arduino IDE menus.
  5. Navigate to the libraries subfolder of the path you saw in the "Sketchbook location" field during step (2) of these instructions.
  6. You will see a list of the installation folders of each of the libraries you have installed. Scroll through the list until you find the library for which you want to open an example sketch.
  7. Open the folder of the library and then the examples subfolder.
  8. There you will see a list of the folders of each of the example sketches provided by the library. Open the folder of the example you want to open.
  9. Select the .pde file in the folder.
  10. Click the "Open" button.

Or as an alternative workaround, you can rename the file to use the .ino file extension, after which you will be able to open the example via the File > Examples menu and by file association.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.