Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
GitBook: [main] one page modified
- Loading branch information
1 parent
03477f9
commit 4128879
Showing
1 changed file
with
22 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,35 @@ | ||
# HackerTV ReadMe | ||
|
||
Turning a Seeed Wio Terminal into a modular Universal TV Remote. | ||
|
||
You MUST use these libraries when using the Seeed Wio Terminal as they have support for SAMD51 architecture. | ||
|
||
* IR Library: [https://github.com/Seeed-Studio/Seeed\_Arduino\_IRSendRev](https://github.com/Seeed-Studio/Seeed_Arduino_IRSendRev) | ||
* Display Library: [https://github.com/Seeed-Studio/Seeed\_Arduino\_LCD](https://github.com/Seeed-Studio/Seeed_Arduino_LCD) | ||
|
||
# HackerTV | ||
Turning a Seeed Wio Terminal into a modular Universal TV Remote. | ||
|
||
You MUST use these libraries when using the Seeed Wio Terminal as they have support for SAMD51 architecture. | ||
|
||
- IR Library: https://github.com/Seeed-Studio/Seeed_Arduino_IRSendRev | ||
- Display Library: https://github.com/Seeed-Studio/Seeed_Arduino_LCD | ||
|
||
### Code is a prototype, no guarentee of any sort is implied. Use at your own risk. | ||
|
||
This project is based on: | ||
|
||
* [https://www.youtube.com/watch?v=C9AlljLst2o](https://www.youtube.com/watch?v=C9AlljLst2o) | ||
* [https://github.com/lakshanthad/Wio\_Terminal\_Classroom\_Arduino/tree/main/Classroom 11](https://github.com/lakshanthad/Wio_Terminal_Classroom_Arduino/tree/main/Classroom%2011) | ||
- https://www.youtube.com/watch?v=C9AlljLst2o | ||
- https://github.com/lakshanthad/Wio_Terminal_Classroom_Arduino/tree/main/Classroom%2011 | ||
|
||
To add a new TV do the following: | ||
|
||
* create a header file \(example\_new\_tv\_codes.h\). Use an existing header file as an example | ||
* **include your header in HackerTV\_Firmware.ino** | ||
* increment num\_tv\_manufacturers in HackerTV\_Firmware.ino | ||
* Add a new entry in the HACKERTV tv Struct. Follow the example of what is already there. | ||
* Add a new Case in the SWITCH statement found in the function void initialize\_tv\_settings\(\) which is found towards the bottom of HackerTV\_Firmware.ino | ||
- create a header file (example_new_tv_codes.h). Use an existing header file as an example | ||
- #include your header in HackerTV_Firmware.ino | ||
- increment num_tv_manufacturers in HackerTV_Firmware.ino | ||
- Add a new entry in the HACKERTV tv Struct. Follow the example of what is already there. | ||
- Add a new Case in the SWITCH statement found in the function void initialize_tv_settings() which is found towards the bottom of HackerTV_Firmware.ino | ||
|
||
### Only use this project on TVs that you own. Don't be a jerk. | ||
|
||
To use an external Grove IR transmitter, you must change the file IRremoteBoardDefs.h | ||
It is part of the IR library. | ||
The file should be found at ..\Arduino\libraries\Seeed\_Arduino\_IRSendRev-master\src\private | ||
The file should be found at ..\Arduino\libraries\Seeed_Arduino_IRSendRev-master\src\private | ||
|
||
elif defined\(ARDUINO\_ARCH\_SAMD\) | ||
elif defined(ARDUINO_ARCH_SAMD) | ||
// use timer 3 hardcoded at this time | ||
ifdef WIO\_TERMINAL | ||
define IR\_SEND\_PIN WIO\_IR // USE D0 FOR WIO TERMINAL'S EXTERNAL GROVE D/A CONNECTOR, BY DEFAULT USES WIO\_IR\(D14\) | ||
ifdef WIO_TERMINAL | ||
define IR_SEND_PIN WIO_IR // USE D0 FOR WIO TERMINAL'S EXTERNAL GROVE D/A CONNECTOR, BY DEFAULT USES WIO_IR(D14) | ||
else | ||
define IR\_SEND\_PIN 9 | ||
endif | ||
|
||
define IR_SEND_PIN 9 | ||
endif |