you have to modify the code such that for different values of duty cycle provided to motor
Fantastic news! We've Found the answer you've been seeking!
Question:
you have to modify the code such that for different values of duty cycle provided to motor the motor will work in different modes :
for duty cycle <50% : the motor will rotate clockwise for 5 seconds , then rotate counter clock wise for 5 seconds then stop
for duty cycle >50%: the motor will rotate counter clock wise for 5 seconds only
you have to print a suitable sentence to the screen for each mode during the action
Related Book For
Accounting Business Reporting for Decision Making
ISBN: 9780730302414
4th edition
Authors: Jacqueline Birt, Keryn Chalmers, Albie Brooks, Suzanne Byrne, Judy Oliver
Posted Date: