Home
last modified time | relevance | path

Searched refs:degrees (Results 1 – 4 of 4) sorted by relevance

/hardware/bsp/intel/peripheral/libupm/src/adafruitss/
Dadafruitss.cxx119 void adafruitss::servo(uint8_t port, uint8_t servo_type, float degrees) { in servo() argument
128 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()
Dadafruitss.h107 void servo(uint8_t port, uint8_t servo_type, float degrees);
/hardware/ti/omap4xxx/camera/
DEncoder_libjpeg.cpp203 const char* ExifElementsTable::degreesToExifOrientation(unsigned int degrees) { in degreesToExifOrientation() argument
205 if (degrees == degress_to_exif_lut[i].integer) { in degreesToExifOrientation()
/hardware/ti/omap4-aah/camera/
DEncoder_libjpeg.cpp260 const char* ExifElementsTable::degreesToExifOrientation(unsigned int degrees) { in degreesToExifOrientation() argument
262 if (degrees == degress_to_exif_lut[i].integer) { in degreesToExifOrientation()