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: USBHost_custom_Addiso
Fork of USBHostC270_example_GR-PEACH by
Diff: main.cpp
- Revision:
- 13:fa85d3614acf
- Parent:
- 11:6a8eef89eb22
- Child:
- 15:ac8b6c6dfb3f
--- 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();
