STAR Firmware by JonnyC - Source Code and Explanation

Yup, that's exactly how I have the ramping working in my old program that I used in the UF T20 and T50. Basically it also has off-time memory, so if you turn off and back on right away, it will jump to the next preset mode, but you can still hold to ramp. Maybe I should get that program updated and shared as well.

Your program guys are great. I shall have a lot fun to play with.

Jonny - Even the doc has his limits. He had to sacrifice features too in some versions. Would be really nice to have more memory, like the Tiny25 or Tiny85. Tivo532 (not the infamous Tido) has the driver based on the Z8, but that particular part has only 500 pieces remaining at DigiKey for qty 1 purchasing. After that, it's by qty 500 or so. Haven't seen it stocked anywhere else so far, so that has me concerned, but maybe there's a replacements or other sources...

ARRGH you’re right…I get Tivo and Tido mixed up…
and if you order thru DigiKey…if you order larger multiples (with qty 1) the price drops considerably per unit
You probably already knew that though

Yes please! :smiley:

So I'm utilizing Git for another side project and finally might be slightly starting to somewhat understand it :) I think we should create a GitHub repository for all AVR programs where we can all contribute to the programs and it can be a one-stop shop for anyone looking to find a customized program that meets their needs. Of course getting one up and running is a different matter. If I ever get time in the future I can create the repository and start organizing/categorizing all of the different programs that have been created.

We are using GIT at work now, but strictly internal of course, but I'm somewhat familiar, still not comfortable with it. We use TortoiseGit as the UI.

Nice. I tried TortoiseGit, but it was still too confusing. Just started using SourceTree and it makes Git bearable. I still miss my SVN "synchronize" feature so I can see all incoming changes. The whole fetch/pull process frustrates me.

question on the -os command when using avr studio 5.1. where is this setting? obviously using the gui interface of avr studio, im not using a command line interface where i can just type in -os.

i ask because my compiled code hex looks larger than the 1k space of a attiny13a.

thanks

Brian

Brian - by looks large, what do you mean exactly?

Go to Project -> Properties, then click on Toolchain and select Optimization under AVR/GNU C Compiler, select -Os.

1.8k file size

thank you

Yeah, if you don't set the compiler to -Os it comes out way too large.

even set to -os it is still too large. it was 777bytes (base 16) and now its 752 bytes (base 16) which is still 1.8k.

ill start over and build with -os on rather than just rebuilding the existing project.

Brian

Huh. Did you add a lot of stuff to it? It should build just fine, even with a few extra modes added in. This is what it should look like:

yup those are my settings. 1.83kb file size

i added nothing. pasted it into the editor, changed the settings, saved (to make sure the settings would take effect and then built.

Brian

Hmmm. Are you sure you're selecting the AVR/GNU C Compiler and not the AVR/GNU C Linker? Did you delete the initial information that is in the file when you start a new project?

yes and yes