0

List of used codes
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

List of used codes

by peteromega on Tue Jul 13, 2021 8:50 am

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 | TOGGLE FULL SIZE
// Code 003 -- Sharp
const struct powercode sharpCode PROGMEM =


In version 1.2 are codes unlabelled, for example:

Code: Select all | TOGGLE FULL SIZE
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

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

Re: List of used codes

by adafruit_support_mike on Wed Jul 14, 2021 12:20 am

What device are you using?

adafruit_support_mike
 
Posts: 63729
Joined: Thu Feb 11, 2010 2:51 pm

Re: List of used codes

by peteromega on Wed Jul 14, 2021 2:07 pm


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

Re: List of used codes

by adafruit_support_mike on Sat Jul 17, 2021 8:45 pm

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.

adafruit_support_mike
 
Posts: 63729
Joined: Thu Feb 11, 2010 2:51 pm

Re: List of used codes

by peteromega on Mon Jul 19, 2021 4:54 am

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)

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

Please be positive and constructive with your questions and comments.