The only way to get out of the powerdown is with an level interrupt on int0, so that becomes in Bascom
[code:1:0e8096e007]
Config Int0 = Low Level
[/code:1:0e8096e007]
That automatic implants that when the Tiny is in powerdown the level on int0 must be logic 1 (with a pull up).To generate an irq you must bring int0 to gnd (long enough).
↧