supported GR-PEACH original: http://developer.mbed.org/users/va009039/code/USBHostC270_example/ The function of Isochronous has moved to USBHost_AddIso library.
Dependencies: USBHost_custom_Addiso
Fork of USBHostC270_example_GR-PEACH by
Diff: main.cpp
- Revision:
- 13:fa85d3614acf
- Parent:
- 11:6a8eef89eb22
- Child:
- 15:ac8b6c6dfb3f
diff -r ea4badc78215 -r fa85d3614acf main.cpp
--- a/main.cpp Wed Mar 20 14:28:39 2013 +0000
+++ b/main.cpp Wed Apr 01 05:46:06 2015 +0000
@@ -4,13 +4,14 @@
Serial pc(USBTX, USBRX);
BusOut leds(LED1, LED2, LED3);
+static uint8_t buf[1024*10];
+
int main() {
pc.baud(921600);
USBHostMSD* msd = new USBHostMSD("usb"); // USB flash drive
USBHostC270* cam = new USBHostC270(C270_MJPEG, C270_160x120, _5FPS); // Logitech C270
- uint8_t buf[1024*3];
Timer interval_t;
interval_t.reset();
interval_t.start();
