Clear all

Uploading protocol

34 Posts
5 Users
Trusted Member
Joined: 3 months ago
Posts: 86
Topic starter  

@zander Yes, I am also picky about format. For me colouring of keywords is also very important but that is lost when posting here. I am surprised that 2.0.0 does not have a print option. Previous option did but only black and white. I hoped 2.0.0 would have fixed it. Maybe later.

This post was modified 2 months ago by barrie

Famed Member
Joined: 2 years ago
Posts: 3403

@barrie Agreed, you would think the option of copy for forum would produce a listing exactly as in the IDE. The old HTML version probably did, I just don't remember for sure. I think the emphasis for this IDE was the Arduino cloud integration. I don't see how they make a profit on it and it is a very weak API with no additions to speak of since I started playing with it a few months ago. I don't see me needing the cloud much if at all so I will be cancelling my account soon (at least it's cheap).

"Don't tell people how to do things. Tell them what to do and let them surprise you with their results.” - G.S. Patton, Gen. USA
"Never wrestle with a pig....the pig loves it and you end up covered in mud..." anon

Noble Member
Joined: 8 months ago
Posts: 959
Posted by: @barrie

It is working but not yet suitable for a video. It is too jerky and I need to get the hang of changing stepper speed on the fly. When it works to spec I will try to remember to post a video.

Please do... I'm always looking for ideas for my Maker's Group projects or just seeing what people do with electronics and software.  All very cool! 😎

Posted by: @barrie

If you have any examples using AccelStepper changing speeds please let me know. 

Sorry, I've never used it and I felt the need to write my own stepper driver for my projects -



3 lines of code = InqPortal = Complete IoT, App, Web Server w/ GUI Admin Client, Access Point Manager, Drag & Drop File Manager, OTA, Performance Metrics, Web Socket Comms, Easy App API, All running on ESP8266...
Even usable on ESP-01S - Quickest Start Guide

Noble Member
Joined: 1 year ago
Posts: 2112


I looked at both your sketches and I'd like to recommend some things.

1) move the call to changDirection to the first line inside the loop() right before you calculate distance

2) add the; and; commands inside changDirection after the distanceToGo testing

3) change speedFacter data type to float.

I was kidnapped by mimes.
They did unspeakable things to me.

Page 3 / 3