Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
Ok, but shouldn't they be doing the same when I leave out the initialization part in my C program, i.e.:
#include <avr/io.h>
#include <stdint.h>
#include <util/delay.h>
#include <avr/interrupt.h>
#include <avr/sleep.h>
int main(void)
{
MCUCR=0b00110000;
sleep_cpu(); // or...
hi,
I'm trying to switch the tiny13 in my circuit to power down mode. The following asm-code assembled with AvrStudio causes a current consumption of 0.2uA, which according to the datasheet is what is to be expected:
CSEG
rjmp start
start: nop
nop
cli
ldi r16 ,LOW (RAMEND) //...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.