pixy2 smart camera library www.pixycam.com
Pixy2 Library project (using UART interface)
Diff: pixy2.h
- Revision:
- 7:1163b9c3274b
- Parent:
- 6:e9e3aa6f1a55
- Child:
- 8:c93e1d706c0e
--- a/pixy2.h Mon Mar 11 17:28:59 2019 +0000 +++ b/pixy2.h Mon Mar 11 17:36:00 2019 +0000 @@ -76,6 +76,7 @@ * \param PIXY2_BUSY : Pixy hasn't finish yet * \param PIXY2_BAD_CHECKSUM : Checksum is wrong * \param PIXY2_TYPE_ERROR : unexpected type message + * @note More documentation : https://docs.pixycam.com/wiki/doku.php?id=wiki:v2:general_api#error-codes */ typedef int Pixy2ErrorCode; @@ -406,7 +407,8 @@ * sets the servo positions of servos plugged into Pixy2's two RC servo connectors. * @note Frame Documentation : https://docs.pixycam.com/wiki/doku.php?id=wiki:v2:porting_guide * @note Function Documentation : https://docs.pixycam.com/wiki/doku.php?id=wiki:v2:general_api - * @param brightness (Byte - passed by value) : brightness level + * @param s0 (Word - passed by value) : value between 0 and 511 + * @param s1 (Word - passed by value) : value between 0 and 511 * @return Pixy2ErrorCode : error code. */ Pixy2ErrorCode pixy2_setServos (Word s0, Word s1);