Added comments and safety instructions to servo example.
This commit is contained in:
parent
3f6b5cfd41
commit
336b11a8d4
|
@ -6,6 +6,21 @@ Cylon.robot
|
|||
|
||||
work: (my) ->
|
||||
|
||||
# Be carefull with your servo angles or you might DAMAGE the servo!
|
||||
# Cylon uses a 50hz/s (20ms period) frequency and a Duty Cycle
|
||||
# of 0.5ms to 2.5ms to control the servo angle movement.
|
||||
#
|
||||
# This means:
|
||||
# 1. 0.5ms == 0 degrees
|
||||
# 2. 1.5ms == 90 degrees
|
||||
# 3. 2.5ms == 180 degrees
|
||||
# (It is usually safe to start with a 90 degree angle, 1.5ms duty
|
||||
# cycle in most servos)
|
||||
#
|
||||
# Please review your servo datasheet to make sure of correct
|
||||
# angle range and the Freq/MS Duty cycle it requires.
|
||||
# If more servo support is needed leave us a comment, raise an
|
||||
# issue or help us add more support.
|
||||
angle = 30
|
||||
increment = 40
|
||||
|
||||
|
|
Loading…
Reference in New Issue