Code Needed Please

Hi,

I'm new to Arduino coding. Could someone maybe assist me with the following arduino code:

I would like a code witch will be able to do the following:

Button 1 - Turn Stepper motor into one direction for a specific amount of steps.
Button 2 - Turn Stepper motor in the opposite direction for a specific amount of steps.

Then I would like to use a Optical mouse sensor to move the same stepper motor at the same speed as the movement of the optical sensor. for example the stepper motor must increase and decrease speed when the sensor is moved quicker and slower. Stepper motor only have to move in one direction on movement.

Hope someone would be able to assist.

Kind Regards

This isn't a free code writing service. If you want someone to write code for you then post in "Gigs and Collaborations" and offer to pay someone a fair (to them) price.

Most of what you describe sounds like it would be found in examples if you did a little searching instead of just jumping straight to "someone do it for me".

If you want help then you have to start by telling what you've done so far and where you're stuck and ask some specific questions. Just giving your requirements without anything else is not asking for help. It is asking for a solution.

Hi,

I'm new to Arduino coding. Could someone maybe assist me with the following arduino code:

I would like a code witch will be able to do the following:

realize the menu to control a machine with the touch screen and arduino card
on the one hand it is able to turn on and off the machine on the other hand on the screen I want to make a password for the demmarage

Hope someone would be able to assist.
rihab

Why did you add to a completely unrelated thread ?

Did you read post #1 ?

Why did you add to a completely unrelated thread ?

Is it completely unrelated? Looks like this thread is an "I don't want to exert myself; write my code for me" thread.

Hope someone would be able to assist.

Sure thing.

void setup()
{
}

void loop()
{
   realizeMenu();
}

Now, all you have to do is write the realizeMenu() function. In that, you'd have all the functionality needed to turn the machine on or off, displaying the controls on one side of the screen, and displaying a password prompt and text entry box on the other side of the display.

Notice that there is nothing in your requirements about the user having to actually enter a password.

This isn’t going to end well.

To both the newbies.
Start thinking & writing then show us what you come up with...
We can critique and suggest ways to get it working.

@rihaab - start your own thread !
The worst etiquette to hijack someone else’s conversation for your own agenda.