For the first time in a while I've got a project that calls for an inexpensive and uncomplicated micro, controlling 5 small motors. Long story short I used an ATTiny13V and things were going great until all the sudden the thing wouldn't move after write. After poking around, I found I had added just a few too many functions and I was going over the 1K on the Tiny13; trimming out the added functions and reducing the size to under 1K makes things work... but I want all my functionality! I've cleaned out and simplified my code as best I can, but with full functionality I'm still running at about 1.6K. I'm ready to sit down and put everything into ASM, but I started to wonder if there were any quick tricks to reduce program size people here employ. So, any tricks/hacks/kludges?
Joined: Sat. Dec 24, 2005
Posts: 160 View posts