Searched refs:degrees (Results 1 – 4 of 4) sorted by relevance
119 void adafruitss::servo(uint8_t port, uint8_t servo_type, float degrees) { in servo() argument128 if(degrees>180) degrees=180; // Ensure within bounds in servo()129 if (degrees<0) degrees=0; in servo()133 duration = _duration_1ms + ((_duration_1ms*degrees)/180); in servo()138 duration = (_duration_1ms*0.6) + ((_duration_1ms*degrees)/100); in servo()143 duration = (_duration_1ms*0.8) + ((_duration_1ms*degrees)/128); in servo()147 duration = (_duration_1ms*0.9) + ((_duration_1ms*degrees)/120); in servo()
107 void servo(uint8_t port, uint8_t servo_type, float degrees);
203 const char* ExifElementsTable::degreesToExifOrientation(unsigned int degrees) { in degreesToExifOrientation() argument205 if (degrees == degress_to_exif_lut[i].integer) { in degreesToExifOrientation()
260 const char* ExifElementsTable::degreesToExifOrientation(unsigned int degrees) { in degreesToExifOrientation() argument262 if (degrees == degress_to_exif_lut[i].integer) { in degreesToExifOrientation()