You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
smlng 6a037ad004 tests: add prefix to Makefile.tests_common 6 years ago
..
Makefile tests: add prefix to Makefile.tests_common 6 years ago
README.md drivers/servo: Handle inexact frequencies from periph_pwm 7 years ago
main.c tests/driver_servo: s/PWM_0/PWM_DEV(0)/ 6 years ago

README.md

Background

Test for the high level servo driver.

Expected result

A servo connected to PWM_0 channel 0 should move back and forth inside the angle -90 degrees to +90 degrees, approximately.

Using a scope should show a varying pulse length between 1000 us to 2000 us long. The requested frequency is 100 Hz, but due to hardware limitations it might not be possible to achieve the selected frequency. The pulse width should, however, remain the same, only the frequency of pulses (and hence the duty cycle) should differ.