Searched defs:degrees (Results 1 - 3 of 3) sorted by relevance

/hardware/bsp/intel/peripheral/libupm/src/adafruitss/
H A Dadafruitss.cxx119 void adafruitss::servo(uint8_t port, uint8_t servo_type, float degrees) { argument
128 if(degrees>180) degrees=180; // Ensure within bounds
129 if (degrees<0) degrees=0;
133 duration = _duration_1ms + ((_duration_1ms*degrees)/180);
137 //duration = (_duration_1ms*0.6) + ((_duration_1ms*1.8*degrees)/180); simplified to..
138 duration = (_duration_1ms*0.6) + ((_duration_1ms*degrees)/100);
142 //duration = (_duration_1ms*0.8) + ((_duration_1ms*1.4*degrees)/180); simplified to..
143 duration = (_duration_1ms*0.8) + ((_duration_1ms*degrees)/12
[all...]
/hardware/ti/omap4-aah/camera/
H A DEncoder_libjpeg.cpp56 // degrees, exif_orientation
260 const char* ExifElementsTable::degreesToExifOrientation(unsigned int degrees) { argument
262 if (degrees == degress_to_exif_lut[i].integer) {
/hardware/ti/omap4xxx/camera/
H A DEncoder_libjpeg.cpp56 // degrees, exif_orientation
203 const char* ExifElementsTable::degreesToExifOrientation(unsigned int degrees) { argument
205 if (degrees == degress_to_exif_lut[i].integer) {

Completed in 530 milliseconds