Servo Sketch 3D icon Servo Sketch 3D Real-time 3D servo visualization with motion trails, interactive camera controls and clear trail for ARC debugging and analysis. Try it →
Asked — Edited

Can Ezb Read Pwm Values Like The Echo Pin On A Sonar

I guess this is another question for the great DJ I very common TSOP4840 IR receiver and output is PWM and need read the value and there is 4 of them i am using. so looking at the ECHO PIN can it work and any script for it

Also the trigger pin on sonar i want to pulse the IR transmitter using PWM control in the interface you have for it I know others looking at the same idea for low cost home base docking


ARC Pro

Upgrade to ARC Pro

Stay at the forefront of robot programming innovation with ARC Pro, ensuring your robot is always equipped with the latest advancements.

Author Avatar
United Kingdom
LinkedIn Twitter Google+ YouTube
#1  

From the EZ-Script manual

Quote:

GetPWM (digitalPort) Gets the PWM (Pulse Width Modulation) of specified port PWM is between 0 and 100 Example: $x = GetPWM(D14)

#2  

wow GREAT i need to try it,might be a low cost idea for beacon design