@electricray1981 Sorry, no idea what shield means or V1. I thought shield was just a marketing term for board.
Arduino says and I agree, in general, the const keyword is preferred for defining constants and should be used instead of #define
"Never wrestle with a pig....the pig loves it and you end up covered in mud..." anon
My experience hours are >75,000 and I stopped counting in 2004.
Major Languages - 360 Macro Assembler, Intel Assembler, PLI/1, Pascal, C plus numerous job control and scripting
Well I think the library I want to use will work on the ESP32 see the result in below picture:
Grtz,
Ray
There are 2 motorshields apearently but they are made by many companies all use the Adafruit lib. But there there is a Version 1 (V1) and a Version 2 (V2).
Anyhow the tric you explained shows me that it should work on all architectures.
Grtz,
Ray
@electricray1981 Should work, the architecture =* means ALL. Give it a try to find out for sure.
Arduino says and I agree, in general, the const keyword is preferred for defining constants and should be used instead of #define
"Never wrestle with a pig....the pig loves it and you end up covered in mud..." anon
My experience hours are >75,000 and I stopped counting in 2004.
Major Languages - 360 Macro Assembler, Intel Assembler, PLI/1, Pascal, C plus numerous job control and scripting
Tomorrow evening I should be back home and will try it. I'll have to rewire some stuff and will give it a try. I will post here if I had positive or negative results
Grtz,
Ray
@electricray1981 More than 2, and IIRC, that is an ancient one, newer boards use less power and run cooler. I think Bill has a video on the topic.
Arduino says and I agree, in general, the const keyword is preferred for defining constants and should be used instead of #define
"Never wrestle with a pig....the pig loves it and you end up covered in mud..." anon
My experience hours are >75,000 and I stopped counting in 2004.
Major Languages - 360 Macro Assembler, Intel Assembler, PLI/1, Pascal, C plus numerous job control and scripting
Grtz,
Ray
@electricray1981 Motor Controller. You probably have an L298. This VIDEO shows 7 different motor controllers. When describing what you have the Adafruit is not very relevant, that is a company name. The device is numbered on the chips as L298N. 2nd pic is video chapters. You have to look at the specs to determine which driver to use. I generally start at motor voltage and current, then if there are more than 1 hit, find the board with the best input match and what uses the least power i.e runs cooler.
Arduino says and I agree, in general, the const keyword is preferred for defining constants and should be used instead of #define
"Never wrestle with a pig....the pig loves it and you end up covered in mud..." anon
My experience hours are >75,000 and I stopped counting in 2004.
Major Languages - 360 Macro Assembler, Intel Assembler, PLI/1, Pascal, C plus numerous job control and scripting
Im going to watch this video because maybe I can use my Motor Driver that I have allready (it has the L298D) it can handle 4 motors and 2 servos. The manual that came with it refered to the library but I see code passing around without using the library. But maybe I could use a better driver board as well.
Thanks, more study work for me 🤣
Grtz,
Ray
@electricray1981 The L298 is a very popular board, but if battery life is important it might not be the best choice. Check out Bill's video for lot's more info.
Arduino says and I agree, in general, the const keyword is preferred for defining constants and should be used instead of #define
"Never wrestle with a pig....the pig loves it and you end up covered in mud..." anon
My experience hours are >75,000 and I stopped counting in 2004.
Major Languages - 360 Macro Assembler, Intel Assembler, PLI/1, Pascal, C plus numerous job control and scripting