suu pen
/
HonyBeePropoIR_TestProgram
IRC Helicopter "HonyBee" Propo decode test program
Embed:
(wiki syntax)
Show/hide line numbers
DecodeHonyBee.h
00001 /** 00002 * Decode IR Propo HonyBee class 00003 * Version 0.0 130623 00004 * 00005 * Writer:suupen 00006 */ 00007 00008 #ifndef _DECODEHonyBee_H_ 00009 #define _DECODEHonyBee_H_ 00010 00011 #include <mbed.h> 00012 #include "CodecHonyBee.h" 00013 00014 00015 /** 00016 * Decode class. 00017 */ 00018 class DecodeHonyBee { 00019 public: 00020 00021 00022 /** 00023 * Constructor 00024 */ 00025 DecodeHonyBee(); 00026 00027 /** 00028 * Destructor. 00029 */ 00030 ~DecodeHonyBee(); 00031 00032 /** 00033 * Get HonyBee propo analysis data. 00034 * 00035 * @param data IR recive data 00036 * 00037 * @param HonyBee Pointer to HonyBee. 00038 * 00039 * @return receive answer : ture:recive ok false:recive ng. 00040 */ 00041 bool decode(uint8_t *data, CodecHonyBee::honyBeePropo_t *HonyBee); 00042 00043 /** 00044 * Normalize HonyBee data. 00045 * 00046 * @param buf Pointer to propo recive data. 00047 * 00048 * @param propo normalize propo data. 00049 * 00050 * @return receive answer : ture:recive ok false:recive ng. 00051 */ 00052 bool normalize(uint8_t *buf, CodecHonyBee::normalizePropo_t *propo); 00053 00054 private: 00055 00056 00057 00058 00059 }; 00060 00061 #endif 00062 00063
Generated on Fri Jul 15 2022 02:33:45 by 1.7.2