MAP FUNCTION (by david)
Hello, good evening, I am doing a project and I need to perform the Arduino MAP function in LADDER and I have had several problems in being able to do it. thank you
(no subject) (by MGP)
The map() statement does not exist in LDmicro, use the PWL statement, much easier and more flexible.
For a joystick??
To everyone: be more specific when asking questions.
(no subject) (by MGP)
Here is an example of how you can control a motor forwards and backwards with a potentiometer.
Speeds can be preset using the PWL instruction, better than the MAP() instruction on an Arduino.
If you make that twice you can control a car with an Arduino joystick and 2 motors.
I hope that you can use this for your project.