Feature/taskforce (#74)

This commit is contained in:
Zero Fanker 2024-07-02 11:06:43 +08:00 committed by GitHub
parent b286e20dfd
commit dcae37feca
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 200 additions and 97 deletions

View file

@ -49,6 +49,9 @@ bool RepairTrigger(CString& triggerdata);
// coordinate functions
void PosToXY(const char* pos, int* X, int* Y);
// check whether is string is all made of digit numbers
bool IsNumeric(const CString& str);
// HSV -> RGB
void HSVToRGB(const unsigned char hsv[3], unsigned char rgb[3]);
std::array<unsigned char, 3> HSVToRGB(float h, float s, float v);