jglim / IRTool

Use your Gameboy Color to control National air-conditioners!
MIT License
47 stars 1 forks source link

Ir parroting #1

Open HazyCake opened 4 years ago

HazyCake commented 4 years ago

GBC has both an IR transmitter and receiver. Did you have any luck operating the receiver?

I was working on a similar project a year ago but couldn't get much past a clumsy UI. I wanted to create a universal remote capable of storing transmissions from other remotes the way the MX3 Air Fly remote can store read frequencies.

jglim commented 4 years ago

Hello,

I did not have to use the receiver, so I did not look further into it. The IR receiver uses the same RP_REG register, and data is received by checking bit 1 of the register. Received IR is raw (no demodulation) so if you plan to build a IR repeater, you may have to also figure out the transmitter's modulation frequency, or stick to a commonly used value like 38kHz

From https://gbdev.gg8.se/wiki/articles/CGB_Registers : gg8

From https://shonumi.github.io/dandocs.html : dandocs