![]() |
Librería para clientes de AlMarSimulator 1
Librería para E/S de simuladores genéricos (C/C++/Matlab/Python)
|
Clase que imita a la clase equivalente de Arduino More...
#include <AlMarDuino_Servo.h>
Public Member Functions | |
bool | attach (int iPin) |
bool | write (double valueDeg) |
bool | attach (int iPin) |
bool | write (double valueDeg) |
Clase que imita a la clase equivalente de Arduino
Definition at line 15 of file Distrib/Client/Library/include/AlMarDuino_Servo.h.
bool AlMarDuino::Servo::attach | ( | int | iPin | ) |
Attaches the pin desired to a servo output
iPin | number of the servo input (0 to 3, it is not a physical pin) |
bool AlMarDuino::Servo::attach | ( | int | iPin | ) |
Attaches the pin desired to a servo output
iPin | number of the servo input (0 to 3, it is not a physical pin) |
Definition at line 6 of file AlMarDuino_Servo.cpp.
bool AlMarDuino::Servo::write | ( | double | valueDeg | ) |
Moves the servo to the desired angle value
valueDeg | angle desired in degrees (0 to 180) |
bool AlMarDuino::Servo::write | ( | double | valueDeg | ) |
Moves the servo to the desired angle value
valueDeg | angle desired in degrees (0 to 180) |
Definition at line 14 of file AlMarDuino_Servo.cpp.