question regarding codes in WORLDcodes.c
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

question regarding codes in WORLDcodes.c

by josh_ridez on Sat Sep 29, 2012 8:36 am

I've been to http://www.remotecentral.com to get some discrete pronto hex codes for projectors to upload on to the ATtiny85.Specifically I was looking for Panasonic hex codes.They are long codes with 50 pairs or 100 when you cycle through them twice.When I was looking at the WORLDcodes.c file I saw the panasonic code near the top,because it had 100 pairs.I noticed that there were two pairs of numbers corresponding to two initial burst pairs(in red):

44, 45,
44, 131,
44, 7462,
346, 176,
346, 178,

The first one was used at the beginning of the codes and the second one was in the middle,when the second cycle started.Since they are almost identical times,wouldn't be fine to just have the one pair.This would mean you could reduce the number of bits per index from 3 to 2.This would make things easier for me since I'm converting the discrete hex codes to ladyada's compressed format by hand and working with less bits would be easier.

But speaking of making thing automated,I came across a link while searching the forums.
https://github.com/davidawang/TV-B-Gone ... E.markdown

This guy has made a program to convert pronto hex codes to TV-b-gone format.The problem is I'm not sure how to input my codes into his program.Any help would be much appreciated.
Posts: 6
Joined: Mon Aug 27, 2012 10:03 pm

Please be positive and constructive with your questions and comments.