Behavior Control
Help Index

PWM Slider

How To Add This Control To Your Project

  1. Load the most recent release of EZ-Builder
  2. Press the Project tab from the top menu bar of EZ-Builder
  3. Press Add Control from the button ribbon bar of EZ-Builder
  4. Choose the PWM category tab
  5. Press the PWM Slider icon to add the control to your project
The EZ-B can trigger a digital port ON and OFF rapidly to simulate a voltage range between 0 and 5volts. This method is called Pulse Width Modulation. The slider controls the value of the PWM on any digital I/O pin of the EZ-B.

If you have a motor controller (HBridge) with an Enable port, you can connect it to a Digital I/O connector and use this to control the speed of the motor. Or, you can control the brightness of an LED.

Video

Related Tutorials