Post Created date
Problems with my simple scheduler for ATMega32
Remember that the AVR is an advanced 8-bit processor, and as such, helps you with proper flag setting behaviour. The result of your "sbiw WL,1" instruction will be reflected in...
Saturday, 19 February 2005 - 19:34
3 byte challenge for you
Erm !!! Where was the challenge ? That was too easy. Nigel BTW I vote Pascal because I had to learn it at university and after that; ADA because everybody thought it was going to...
Saturday, 19 February 2005 - 18:21
1-bit number
Why do you wan't to do this? Is it a) For Speed b) For reduction of SRAM useage Tell us more info and you'll get a more focused answer. PS What processor are you using. Newer...
Saturday, 19 February 2005 - 18:07
Strange ADC results
John 1. You didn't tell us the scale of your ADC noise. A histogram of ADC counts measured would have been nice. 2. You didn't tell us much about the ADC reference, can you...
Saturday, 19 February 2005 - 18:00
Mixing C and assembler (for interrupt handler)
You are right, the eor instruction will mess up SREG Ammended code: //Toggle Pin Interrupt //--------------------------------------------------------------- __attribute__ ((...
Friday, 18 February 2005 - 08:35
Mixing C and assembler (for interrupt handler)
This really isn't difficult. The code is all in one place also. //Toggle Pin Interrupt //--------------------------------------------------------------- __attribute__ ((naked...
Wednesday, 16 February 2005 - 13:45
AVCC low pass filter suggestions?
Hello Karl Lautman, Quote:I'm pretty lame when it comes to analog stuff I was going to write "you're also pretty lame when it comes to reading datasheets" but that would be too...
Tuesday, 15 February 2005 - 19:35
TWI won't free run? (SOLVED)
Hello icctrainguy, I think you've misunderstood what I was saying: Quote:So if i have to treat them as ram registers i can no longer do a SBI to set a bit in the register. I will...
Tuesday, 15 February 2005 - 08:40
Dark side of the force >> 1+1=3 !!!
I agree with Henrik, please follow convention and make the keyword double actually mean a double precision float. (64-Bits) Nigel
Monday, 14 February 2005 - 08:21
TWI won't free run? (SOLVED)
I had this very bug using mega128 but it was ages ago and I can't remember how I cuered it . I therefore suggest: 1 Make SDA & SCK pullups between 5K1 and 3K3. 2 Check...
Sunday, 13 February 2005 - 22:43
trouble with compile
Aint nothing wrong here....Read to FAQ. outp has been killed. Quite rightly too it was a horrible horrible horrible way of writing to ports. Check out this topic (and the FAQ /...
Saturday, 12 February 2005 - 22:46
How to switch off unwanted code - optimice
I use defines for my hardware as follows #define P_GRNLED 7 //PB7 #define GRNLED_ON() PORTB &= ~(1<<P_GRNLED); #define GRNLED_OFF() PORTB |= (1<<P_GRNLED); #...
Saturday, 12 February 2005 - 13:21

Pages