Junichi Katsu
/
BLE_MPU6050_test6_challenge_sb
テスト用です。
pictLIB/pictLIB.h@0:8468a4403fea, 2016-10-11 (annotated)
- Committer:
- jksoft
- Date:
- Tue Oct 11 11:09:42 2016 +0000
- Revision:
- 0:8468a4403fea
SB??ver;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
jksoft | 0:8468a4403fea | 1 | |
jksoft | 0:8468a4403fea | 2 | #ifndef MBED_PICTLIB_H |
jksoft | 0:8468a4403fea | 3 | #define MBED_PICTLIB_H |
jksoft | 0:8468a4403fea | 4 | |
jksoft | 0:8468a4403fea | 5 | #include "mbed.h" |
jksoft | 0:8468a4403fea | 6 | |
jksoft | 0:8468a4403fea | 7 | class PICTLIB { |
jksoft | 0:8468a4403fea | 8 | public: |
jksoft | 0:8468a4403fea | 9 | |
jksoft | 0:8468a4403fea | 10 | PICTLIB(int _dsp_x,int _dsp_y); |
jksoft | 0:8468a4403fea | 11 | void scroll(char* in_pic, char* out_pic); |
jksoft | 0:8468a4403fea | 12 | void rotation(float rad, char* in_pic, char* out_pic); |
jksoft | 0:8468a4403fea | 13 | float pi; |
jksoft | 0:8468a4403fea | 14 | |
jksoft | 0:8468a4403fea | 15 | protected: |
jksoft | 0:8468a4403fea | 16 | |
jksoft | 0:8468a4403fea | 17 | |
jksoft | 0:8468a4403fea | 18 | int dsp_x; |
jksoft | 0:8468a4403fea | 19 | int dsp_y; |
jksoft | 0:8468a4403fea | 20 | float dsp_center_x; |
jksoft | 0:8468a4403fea | 21 | float dsp_center_y; |
jksoft | 0:8468a4403fea | 22 | }; |
jksoft | 0:8468a4403fea | 23 | |
jksoft | 0:8468a4403fea | 24 | #endif |