List of used codes

Get help and show off your TV-B-Gone kit!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
peteromega
 
Posts: 3
Joined: Mon Jul 12, 2021 3:15 pm

List of used codes

Post by peteromega »

I need a help with identify used codes in firmware v1.2.
In version 1.0 or 1.1 the codes are named in the source code, for example SHARP:

Code: Select all

// Code 003 -- Sharp
const struct powercode sharpCode PROGMEM =
In version 1.2 are codes unlabelled, for example:

Code: Select all

const struct IrCode code_na004Code PROGMEM =
The codes have a different structure and cannot be easily identified.
Is there any way to identify them? Or some list used codes?
I need to adjust their order.

Thank very much

User avatar
adafruit_support_mike
 
Posts: 67391
Joined: Thu Feb 11, 2010 2:51 pm

Re: List of used codes

Post by adafruit_support_mike »

What device are you using?

User avatar
peteromega
 
Posts: 3
Joined: Mon Jul 12, 2021 3:15 pm

Re: List of used codes

Post by peteromega »

I built my device according to pcb v1.2
https://raw.githubusercontent.com/adafr ... ne3sch.png

User avatar
adafruit_support_mike
 
Posts: 67391
Joined: Thu Feb 11, 2010 2:51 pm

Re: List of used codes

Post by adafruit_support_mike »

That would be a TV-B-Gone

The v1.2 codes have the same numbers as the v1.1 ones. Code 000 in the v1.1 firmware becomes code_na000Code in the v1.2 firmware.

User avatar
peteromega
 
Posts: 3
Joined: Mon Jul 12, 2021 3:15 pm

Re: List of used codes

Post by peteromega »

Are you sure?

Codes with the same numbers as the v1.1 and v1.2 have different freq_to_timerval

For example
v1.1 Code 000 - freq_to_timerval(37470)
v1.2Code 000 - freq_to_timerval(38400)

v1.1 Code 001 - freq_to_timerval(55600)
v1.2 Code 001 - freq_to_timerval(57143)

Locked
Please be positive and constructive with your questions and comments.

Return to “TV-B-Gone Kit”