![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
This is the project for the Old Model Robots for OU's Dr. Davis's Configurable Robots Research. This is being published so future robots can be set up easily.
Dependencies: FatFileSystem MCP3008 Motor PinDetect QTR_8A SRF05 SSD1308_128x64_I2C mbed
RemoteIR/RemoteIR.h@0:bcad524c1856, 2017-11-01 (annotated)
- Committer:
- DrewSchaef
- Date:
- Wed Nov 01 15:57:59 2017 +0000
- Revision:
- 0:bcad524c1856
Published the project to allow access for future work on the Configurable Robots Research Project(s).
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
DrewSchaef | 0:bcad524c1856 | 1 | /** |
DrewSchaef | 0:bcad524c1856 | 2 | * IR remote common class (Version 0.0.4) |
DrewSchaef | 0:bcad524c1856 | 3 | * |
DrewSchaef | 0:bcad524c1856 | 4 | * Copyright (C) 2010 Shinichiro Nakamura (CuBeatSystems) |
DrewSchaef | 0:bcad524c1856 | 5 | * http://shinta.main.jp/ |
DrewSchaef | 0:bcad524c1856 | 6 | */ |
DrewSchaef | 0:bcad524c1856 | 7 | |
DrewSchaef | 0:bcad524c1856 | 8 | #ifndef _REMOTE_IR_H_ |
DrewSchaef | 0:bcad524c1856 | 9 | #define _REMOTE_IR_H_ |
DrewSchaef | 0:bcad524c1856 | 10 | |
DrewSchaef | 0:bcad524c1856 | 11 | class RemoteIR { |
DrewSchaef | 0:bcad524c1856 | 12 | public: |
DrewSchaef | 0:bcad524c1856 | 13 | |
DrewSchaef | 0:bcad524c1856 | 14 | typedef enum { |
DrewSchaef | 0:bcad524c1856 | 15 | UNKNOWN, |
DrewSchaef | 0:bcad524c1856 | 16 | NEC, |
DrewSchaef | 0:bcad524c1856 | 17 | NEC_REPEAT, |
DrewSchaef | 0:bcad524c1856 | 18 | AEHA, |
DrewSchaef | 0:bcad524c1856 | 19 | AEHA_REPEAT, |
DrewSchaef | 0:bcad524c1856 | 20 | SONY |
DrewSchaef | 0:bcad524c1856 | 21 | } Format; |
DrewSchaef | 0:bcad524c1856 | 22 | |
DrewSchaef | 0:bcad524c1856 | 23 | static const int TUS_NEC = 562; |
DrewSchaef | 0:bcad524c1856 | 24 | static const int TUS_AEHA = 425; |
DrewSchaef | 0:bcad524c1856 | 25 | static const int TUS_SONY = 600; |
DrewSchaef | 0:bcad524c1856 | 26 | |
DrewSchaef | 0:bcad524c1856 | 27 | private: |
DrewSchaef | 0:bcad524c1856 | 28 | RemoteIR(); |
DrewSchaef | 0:bcad524c1856 | 29 | }; |
DrewSchaef | 0:bcad524c1856 | 30 | |
DrewSchaef | 0:bcad524c1856 | 31 | #endif |