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.
Dependents: mbed_uCAM_TTL120_20141118
Diff: uCAM_TTL120.h
- Revision:
- 1:a33d709303c6
- Parent:
- 0:fcc0eaeeb35c
- Child:
- 2:f80257456c6e
--- a/uCAM_TTL120.h Mon Nov 17 21:03:43 2014 +0000 +++ b/uCAM_TTL120.h Tue Nov 18 17:55:06 2014 +0000 @@ -2,6 +2,10 @@ // J. Bradshaw 20141106 #include "mbed.h" +//define larger buffers for return packets +#define MODSERIAL_DEFAULT_RX_BUFFER_SIZE 1024 +#define MODSERIAL_DEFAULT_TX_BUFFER_SIZE 1024 +#include "MODSERIAL.h" #ifndef uCAM_TTL120_H #define uCAM_TTL120_H @@ -52,7 +56,7 @@ void uCAM_set_baud(void); char picture[10000]; - Serial _cam; + MODSERIAL _cam; private: Timer *timerCam; };