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.
Dependencies: FatFileSystem TB6612FNG2 mbed
Fork of JBB_BTLE_Test by
uvc/uvcsub.cpp
- Committer:
- jksoft
- Date:
- 2014-05-12
- Revision:
- 7:3ed1e36587d4
- Parent:
- 0:1ed23ab1345f
File content as of revision 7:3ed1e36587d4:
#include "mbed.h"
#include "uvc.h"
void uvc::wait(float s)
{
Timer t;
t.start();
while(t.read() < s) {
poll();
}
}
void uvc::wait_ms(int ms)
{
Timer t;
t.start();
while(t.read_ms() < ms) {
poll();
}
}
