Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write an arduino program for two motors using H - bridge 1 2 9 8 n ( using two enable pins ) for direction and

Write an arduino program for two motors using H - bridge 1298n ( using two enable pins ) for direction and speed. In this code the motor ( asumming that the motor is Car), this car must work like that:1. when we press 1 in the keyboard the car goes forward.2. when we press 2 in the keyboard the car goes backward3. When we preess 3 in the keyboard the car goes right4. when we press 4 in the keyboard the car goes left.5. when we press 5 in the keyboard the car goes right with incresing speed.6. when we press 6 in the keyboard the car goes right wirh decrising speed.7. When we press 7 in the keyboard the car goes left with increasing speed.8. when we press 8 in the keyboard the car goes right with the decreasing speed.9. When we press 9 in the keyboard the car stop#using Serial.printIn# #using parselnt in void loop#

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Flash XML Applications Use AS2 And AS3 To Create Photo Galleries Menus And Databases

Authors: Joachim Schnier

1st Edition

0240809173, 978-0240809175

More Books

Students also viewed these Databases questions

Question

Discuss the techniques of job analysis.

Answered: 1 week ago

Question

How do we do subnetting in IPv6?Explain with a suitable example.

Answered: 1 week ago

Question

Explain the guideline for job description.

Answered: 1 week ago

Question

What is job description ? State the uses of job description.

Answered: 1 week ago

Question

What are the objectives of job evaluation ?

Answered: 1 week ago