Sketch is running on Uno, but not on ATtiny45
hi! i'm struggling sketch runs on uno, not on attiny45. setup is: arduino isp, board attiny 45 @ 8 mhz, arduino ide 1.5.8 , attiny core installed. there no errors when program bootloader on tiny , sketches blink, fade etc. working flawless on ports. with sketch led on port 1 (pin6) lights when hit button , it's blinking when press button longer period. i've tried different ports , 2 other attiny45 no luck. power supply stable etc. back on uno (with other port settings), same sketch works charm. any ideas? code: [select] // // int flash1 = 0; // front flash tiny: pin 5 int flash2 = 1; // mask flash tiny: pin 6 int button = 3; // camera flash trigger simulation tiny: pin 2 int trig; // trigger state int count; // flash switching unsigned long prevmillis = 0; // bounce debouncer = bounce(); // setup routine runs once when press reset: void setup() { // initialize digital pin output. pinmode(flash1, output); pinmode(flash2, output); pinmode(trig, input); c