JBBoardに接続したモーター2つをRCBControllerでコントロールするテストです。
Dependencies: FatFileSystem TB6612FNG2 mbed
Fork of JBB_BTLE_Test by
uvc/myjpeg.h@0:1ed23ab1345f, 2012-06-26 (annotated)
- Committer:
- va009039
- Date:
- Tue Jun 26 14:27:45 2012 +0000
- Revision:
- 0:1ed23ab1345f
fix overflow spp_service_buffer
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
va009039 | 0:1ed23ab1345f | 1 | #ifndef MYJPEG_H |
va009039 | 0:1ed23ab1345f | 2 | #define MYJPEG_H |
va009039 | 0:1ed23ab1345f | 3 | class myjpeg { |
va009039 | 0:1ed23ab1345f | 4 | public: |
va009039 | 0:1ed23ab1345f | 5 | myjpeg(uint8_t* buf, int len, int capacity); |
va009039 | 0:1ed23ab1345f | 6 | void analytics(); |
va009039 | 0:1ed23ab1345f | 7 | int insertDHT(); |
va009039 | 0:1ed23ab1345f | 8 | int SOS_pos; |
va009039 | 0:1ed23ab1345f | 9 | int DHT_pos; |
va009039 | 0:1ed23ab1345f | 10 | private: |
va009039 | 0:1ed23ab1345f | 11 | int getc(); |
va009039 | 0:1ed23ab1345f | 12 | int getBE16(); |
va009039 | 0:1ed23ab1345f | 13 | uint8_t* m_buf; |
va009039 | 0:1ed23ab1345f | 14 | int m_len; |
va009039 | 0:1ed23ab1345f | 15 | int m_pos; |
va009039 | 0:1ed23ab1345f | 16 | int m_capacity; |
va009039 | 0:1ed23ab1345f | 17 | }; |
va009039 | 0:1ed23ab1345f | 18 | |
va009039 | 0:1ed23ab1345f | 19 | void QcamCopy(const char* destination, const char* source); |
va009039 | 0:1ed23ab1345f | 20 | |
va009039 | 0:1ed23ab1345f | 21 | #endif //MYJPEG_H |