@kirk @Inq is perfectly capable of answering your question but I don't see him online so I will take the easy one.
const_float is not a valid keyword. const is and float is, they mean constant (can't be modified by program code) and float means a floating point number. Those are numbers with . in them generally like 3.14.
Flat 4 strand cable as you call it is available from all the usual places, Amazon for speedy delivery but highest price, AliExpress for long delivery but cheap, e-bay or bang good in betweeen the other two plus any one of numerous electronics supply houses, just google it.
First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.
@kirk Is this what you are looking for?
https://amz.run/5sKd "https://amz.run/5sKd"
NOTE, Canadian site, change it to .com if in the USA.
First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.
@kirk @Inq FYI Try testing with @Inq's amended sketch. We know it works, if yours does not then you have hardware problems. Change each piece of hardware while running the known working sketch until you find the problem. Now you can try to move forward.
First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.
@zander I appreciate the good advice. I will update you on progress.
Hi, The code is designed to turn the motor-that was the plan anyway.
Do you know a good source for flat 4 strand cable? I want to connect straight from the Arduino digital output port to the driver.
see Amazon
"https://www.amazon.ca/C-able-Extension-Extend-Solderless-Connector/dp/B07FDW4M89/ref=sr_1_6?crid=1NO0M35HLML8G&keywords=extension+wire+led&qid=1661134899&sprefix=extension+wire+led%2Caps%2C294&sr=8-6"
Anything seems possible when you don't know what you're talking about.
@zander For anyone interested I found a source for cables with Arduino terminals on EBAY. I pasted the link below.
https://www.ebay.com/itm/124825421876
@kirk I am not sure what you bought, but the price is high and it does not appear to be a complete set.
The set I bought is 360 pieces total, for $11.55
3 x 40 Male to Female
3 x 40 Male to Male
3 x 40 Female to Female
First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.
@kirk What is an Arduino terminal?
First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.
@zander Re: Arduino cables. What I intended to be ordering was two male/female cables 4 strand x 50 cm. They are on their way. You may be right I don't order from EBAY a lot; so I didn't know if that was a good price. I don't really need that length at the moment; but I will need to set up for outdoor testing.
@kirk This is a complete set, Male to Male, Female to Female, and Male to Female. 40 wires per bunch, 3 bunches per type. Ends are male and female dupont connectors. I have never heard of Arduino terminals.
https://amz.run/5sir "https://amz.run/5sir"
First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.
Hi Ron, I located the problem, aka my mistake. I had switched between a couple of different types of driver boards and assumed the Vcc and Ground were in a certain location. I attached a photo. As you know there are different styles of board that differ somewhat on Vc placement. In the future I'm always going to check continuity between pin 16 of the Darlington chip and the output pins as well as documentation if I can find any. Any suggestions?
Thanks again for your help. I will provide follow-up as my crazy project proceeds. Kirk