Behavior Examples#
Here you will find a collection of examples demonstrating how to use the harp.behavior Python package. Each example includes a brief description and the necessary code to get you started.
- Analog Input - read values from a potentiometer.
- Camera Trigger - trigger frames from a camera.
- Digital Input - read values from a switch.
- Digital Output - control an LED.
- Digital Output Pulse - trigger a digital pulse.
- LED Toggle - control the brightness of a LED by using the current driver ports.
- PWM Toggle - control the brightness of a LED by using a PWM signal.
- Quadrature Encoder - get the position values of a quadrature encoder.
- Servo Motor Control - control a servo motor.