@Rob, you removed char db, but still use it:
alpha4.writeDigitAscii(d/10 + '0' , db);
If the second param is the decimal place, I guess we can just drop it ( and add the two ):
alpha4.writeDigitAscii(2, d/10 + '0');
@op, what happened to the rest of the space? Or is there a bootloader on the tinkerkit?
What version of the IDE do you use? 1.5.7 will not compile without removing at least the dtostrf call.
With Robs change I get:
Sketch uses 3,958 bytes (48%) of program storage space. Maximum is 8,192 bytes.
I also have an additional method of reducing the size. The total savings could allow more stuff!
Visit my page here http://arduino.land/Code/SmallSetup/
and install the SmallSetup library ( just updated it for the tiny chips ), then use the second method to use it. Result now is (including Robs savings):
Sketch uses 3,678 bytes (44%) of program storage space. Maximum is 8,192 bytes.