7 years, 9 months ago.

Interfacing SR04 ultrasonic and lidar lite v3 with mbed OS in LPC1768

Hi Friends, i am new to mbed. I have interfaced ultrasonic and lidar and able to see the distance output. Lidar I have interfaced using I2C and SR04 using serial

SRF05 srf(p13, p14); LidarLitev2 Lidar(p28, p27);

My question how to create separate task for lidar and ultrasonic using embed os and check the response time. my objective is my response time must less with OS.

Be the first to answer this question.