barrie
barrie
@barrie
Member
Joined: 2022-09-04 9:10 am
Last seen: 2022-10-22 8:18 pm
Topics: 12 / Replies: 74
Reply
RE: Uploading protocol

@zander Didn't see a line number option in Arduino 2.0.0 but they are showing in my sketch. I noticed that I could not select the line numbers with th...

2 years ago
Forum
Reply
RE: Uploading protocol

its this line in the loop at case 2 int spd = speedFacter * distance;

2 years ago
Forum
Reply
RE: Uploading protocol

/* Two 28BYJ-48 5V Stepper motors controlled by HC-SR04 Sonar module */ //--------------------------Stepper motor globals----------------------...

2 years ago
Forum
Reply
RE: Uploading protocol

@inq @will There is something wrong. I have tried all integers, long's and floats. Still get silly answers. It may be a full memoryl. How can I check ...

2 years ago
Forum
Reply
RE: Uploading protocol

yes exactly. one ofthevariables the should have bee 2 digits had about 6 or 7.

2 years ago
Forum
Reply
RE: Uploading protocol

@will Thanks for all that good info. I now know what to do. The float was from the output of the sonic module I had to convert it to an integer in ...

2 years ago
Forum
Reply
RE: Uploading protocol

@inq Thanks. I thought the same. The answer was in an Int. It should now be an easy fix.

2 years ago
Forum
Reply
RE: Uploading protocol

@will Thanks for that link. It was very interesting. It got me buzzed with an overflow of ideas. By the way I have an interesting bug. I multiplied ...

2 years ago
Forum
Reply
RE: Uploading protocol

@will Crikey, what a great idea. it would be easy to put sound effects on a chip recorder and synchronise it with the movements. How do you check rema...

2 years ago
Forum
Reply
RE: Uploading protocol

Well! Dare I say it. Almost time to Celebrate. After a bug ridden day I finally got my small kinetic art display to perform by proximity of the observ...

2 years ago
Forum
Reply
RE: Uploading protocol

@will Thank you. That eliminates one suspect.

2 years ago
Forum
Topic
Forum
Replies: 33
Views: 1545
Reply
RE: Library syntax

@will Very good point. Thank you.

2 years ago
Forum
Reply
RE: Library syntax

Many thanks. I read the documentation a few times. Since it was my first attempt to use a library function from scratch I needed help to fully underst...

2 years ago
Forum
Reply
RE: Library syntax

Thank you. I have the stepper already defined but I have to declare runSpeed() How do I do that? AccelStepper stepper1(HALFSTEP, motorPin1, moto...

2 years ago
Forum
Page 4 / 6