summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal/servo.h
diff options
context:
space:
mode:
Diffstat (limited to 'stmhal/servo.h')
-rw-r--r--stmhal/servo.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/stmhal/servo.h b/stmhal/servo.h
new file mode 100644
index 0000000000..bb3edd97a2
--- /dev/null
+++ b/stmhal/servo.h
@@ -0,0 +1,5 @@
+void servo_init(void);
+
+MP_DECLARE_CONST_FUN_OBJ(pyb_servo_set_obj);
+MP_DECLARE_CONST_FUN_OBJ(pyb_pwm_set_obj);
+MP_DECLARE_CONST_FUN_OBJ(pyb_Servo_obj);