photo

松繁


Last seen: presque 2 ans il y a Actif depuis 2023

Followers: 0   Following: 0

Statistiques

Feeds

Afficher par

Réponse apportée
how can i create a block diagram of an ultrasonic sensor in simulink?
Is there a solution?

presque 2 ans il y a | 0

Réponse apportée
I am using HC-SR04 ultrasonic sensor with raspberry pi 3 interfaced with MATLAB 2017b. When I run my code to measure distance of an object from sensor my code goes in infinite loop detecting nothing. Code is as follows:
% clear mypi % mypi=raspi; configurePin(mypi,4,'DigitalOutput'); % 5脚设置为输出脚 21 Trig发送引脚 configurePin(mypi,17,'DigitalInpu...

presque 2 ans il y a | 0