Type in the full discussion title or a part of it.
Discussion Title Created date
avr-gcc auto assigns to zero for decl like 'uint8_t i'
Hi, Will avr-gcc auto assign zero value to declarations like below? static uint8_t i; static volatile uint8_t j; uint8_t k; Thanks.
Sunday, 7 February 2010 - 21:50
circuit that can draw power from USB OR batteries
Hi, I know how to construct either USB or battery circuit to power my load. My question here is: I want to incorporate both power sources but be able to detect to use the USB...
Sunday, 24 January 2010 - 16:58
AVRs with OC1A and /OC1A and OC1B and /OC1B
Hello, I am looking at the ATTINY26L (http://www.atmel.com/dyn/resources/prod_documents/1477S.pdf) and I see OC1A pin AND /OC1A (active-low) pin. Same for OC1B and /OC1B. What...
Friday, 15 January 2010 - 09:30
Possible to read the flash memory using pgm_read_byte?
Hi, I would like to read the flash memory during runtime using pgm_read_byte(), reading from address zero to the max of flash size. Is that supported by pgm_read_byte()? So,...
Tuesday, 12 January 2010 - 06:49
Decent random numbers without the "bytes", pun int
Hi all! Today I made an interesting observation with my little project that requires some random numbers. I've noticed that with the below statement, my hex file is about 450...
Saturday, 9 January 2010 - 06:38
Reliable button debouncing
Hi, Up to now, I do button debouncing as shown below, but not reliable at all. I don't want increase the delay times, as it slow things down. Any other techniques that you can...
Friday, 8 January 2010 - 08:42
ATMEGA8-16PU is obsolete? Replace by ATMEGA8A-16PU?
hi, Couple observations I had noticed today, thus this posting. 1. I saw on eBay that 200 pcs of ATMEGA8-16PU at 84 cents each. So, I asked myself: "too good to be true?" 2....
Monday, 4 January 2010 - 21:42
Brown-out Detection (BOD) notification for the AVR
hi all, I am using an ATTINY24V-10PU running at 1Mhz (default) with a 3V battery power supply--2xAAA cells. I would like to experiment with brown-out detection (BOD), thus,...
Monday, 4 January 2010 - 19:27
Strange observation with _delay_ms() call and flash size
Hi, I have the below program for the ATTINY24V. Upon compiling, hex file produced is way over 4K bytes in flash, 193% Flash usage. But if I replace '_delay_ms(delay_msecs)' with...
Friday, 1 January 2010 - 23:38
Interrupt (timer/counter) not trigger with ATTINY24V-10PU
Hi all, I've been mulling over the below code for hours now, after reading the ATTINY24V-10PU spec, and can't seem to have the ISR triggered/invoked. I run at 8Mhz with the built...
Friday, 1 January 2010 - 21:47
Operand(s) out of range in 'ldi r21,0x8005' for ATMEGA8???
Ok, just booted up AVRStudio and made an assembler project but got the below error when trying to build the ATMEGA8 assembly code from AVR309 appnote. I've got an error on "...
Thursday, 31 December 2009 - 10:39
Need help compiling asm code, i.e., *.asm file
Hi, I have the attached make file, but get the below errors when trying to compile the ASM files from AVR309 AppNote. Please advise. My 1st assembly compilation. Thanks! (If...
Thursday, 31 December 2009 - 08:02

Pages