Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of uvchost by
uvcsub.cpp
00001 #include "mbed.h" 00002 #include "uvc.h" 00003 00004 void uvc::wait(float s) 00005 { 00006 Timer t; 00007 t.start(); 00008 while(t.read() < s) { 00009 poll(); 00010 } 00011 } 00012 00013 void uvc::wait_ms(int ms) 00014 { 00015 Timer t; 00016 t.start(); 00017 while(t.read_ms() < ms) { 00018 poll(); 00019 } 00020 } 00021
Generated on Wed Jul 13 2022 01:34:55 by
1.7.2
