mBed C code for speed sensor

Complete mBed C code for speed sensor

AnonMouse
As part of a vehicle development group, you’re initially tasked with developing the prototype of a speed

warning system. Mimic the speed sensor with an analog potentiometer wired to pin 15 on the mbed. The

sensor measurement value is 0.01*V where V is velocity measured in mph. The desired system velocity is

70 mph. Write complete mbed code that will do the following continuously: 1) read the sensor data, 2)

compute speed in mph, 3) compute the error, 4) turn on an LED if the speed is too high, 5) print out the

temperature and error on TeraTerm.

if an mbed is not available, use; https://www.google.com/url?

q=https://simulator.mbed.com/&sa=D&ust=1588776744397000&usg=AFQjCNHpE0w6FhjYa2T565iWCfK3c

OQ3uw to write your code.

This question has been answered.

Get Answer