Program ATiny85 with TV-B-Gone

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
capsilvain
 
Posts: 1
Joined: Thu Dec 16, 2021 11:02 am

Program ATiny85 with TV-B-Gone

Post by capsilvain »

I am a rather experienced guy as to hardware and electronics in general, however a total NOOB as to software.
And as Christmas holdays will start soon I decided to build up the TV-B-Gone fm scratch. All required components
are at home - and meanwhile I have installed ARDUINO 1.8.16 and connected a Sparkfun USB Tiny AVR PGM-11801.
As recommended I have installed the Blink Sketch - it works flawlessly.

In oder to program the ATtiny85V I have downloaded fm the arduino website https://learn.adafruit.com/tv-b-gone-kit/download
the firmwarev 1.2.zip. Next action was to unzip and add the files

- main.c
- main.h
- makefile
- pasegen3.pl
- util.c
- util.h
- WORLDcodes

in the sketch (WORLDcodes.c -- main.c -- main.h -- util.c -- util.h).

After the correction concerning the error as to const (e.g. : const struct IrCode * const EUpowerCodes[] PROGMEM = {)
a Verify/Compile shows no errors at all:

- Detecting libraries used...
- Generating function prototypes...
- Compiling sketch...
- Compiling libraries...
- Compiling core...
- Archiving built core (caching in: C:\ Users.....
Linking everything together...

Sketch uses304 bytes (3%) of program storage space. Maximum is 8192 bytes.
Global variables use 0 bytes of dynamic memory.

Even so there have been no errors concerning the verify of the compiled sketches - I wonder wether my compiled software
will result in a functional TV-B-Gone. As told before - I am an absolutely unexperienced as to software. Hence I dare to ask
you to enlighten me where I make a fundamental mistake. During three days of investigations (Arduino / Adafruit / diff. Forums)
I have found no issue for my problem. Arduino is correctly configuerd for ATtiny - I must have a fundamental error somewhere.

thank you

gerd

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

Return to “TV-B-Gone Kit”