suggestion for motion.h

This commit is contained in:
n1i9c9k9 2023-12-13 17:12:02 +01:00
parent 68883dadb8
commit 0d1854c8d7

View File

@ -28,21 +28,19 @@ public:
* @brief Move forward for a certain amount of time. * @brief Move forward for a certain amount of time.
* @param moveForMs Representing the duration of forward moving in milliseconds. * @param moveForMs Representing the duration of forward moving in milliseconds.
*/ */
void move(u8int moveForMs); void move(uint8_t moveForMs);
/** /**
* @brief Rotate left for a certain amount of time. * @brief Rotate left for a certain amount of time.
* @param rotateForMs Representing the duration of rotating left in milliseconds. * @param rotateForMs Representing the duration of rotating left in milliseconds.
*/ */
void rotateLeft(u8int rotateForMs); void rotateLeft(uint8_t rotateForMs);
/** /**
* @brief Rotate right for a certain amount of time. * @brief Rotate right for a certain amount of time.
* @param rotateForMs Representing the duration of rotating right in milliseconds. * @param rotateForMs Representing the duration of rotating right in milliseconds.
*/ */
void rotateRight(u8int rotateForMs); void rotateRight(uint8_t rotateForMs);
}; };
#endif //Motion_h #endif //Motion_h