JBBoardに接続したモーター2つをRCBControllerでコントロールするテストです。
Dependencies: FatFileSystem TB6612FNG2 mbed
Fork of JBB_BTLE_Test by
uvc/myjpeg.h@7:3ed1e36587d4, 2014-05-12 (annotated)
- Committer:
- jksoft
- Date:
- Mon May 12 14:24:35 2014 +0000
- Revision:
- 7:3ed1e36587d4
- Parent:
- 0:1ed23ab1345f
First edition
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 |