Discussion Title | Created date |
---|---|
How measure reset time? How can I measure the reset time period? |
Monday, 5 October 2009 - 14:09 |
msb to carry? How can I transfer msb to carry without shifting? With rol I loose msb. |
Saturday, 3 October 2009 - 13:54 |
How multiply 8-bit value with Z? How can I multiply an 8-bit value with a word pointer (Z)? For example, if value = 5 then Z must increment with 10 words. In other words; value * adiw ZH:ZL, 2 How can this be... |
Saturday, 3 October 2009 - 10:13 |
How to add pos or neg value to X? When the program adds a positive number to XL with add, XH must inc when XL overflows, but when the program adds a negative number to XL, what will happen to XH? This works. ldi... |
Monday, 14 September 2009 - 13:19 |
ADC free running and multiple channels problem Hi. I try to sample two ADC channels (4 and 5) and running in free mode, but this does not work well. (AVR = ATmega88-20PU) ldi temp, 0b01100100 ;select ADC4, Vref = AVcc sts... |
Thursday, 6 August 2009 - 21:59 |
Why On/Off modes on a KS0108 LCD? I wonder, how can I switch an LCD with KS0108 controller On when it was switched Off, and visa versa? In the init I have. (lsb=1 On, lsb=0 Off.) ldi temp, 0b00111110 ;switch... |
Saturday, 25 July 2009 - 08:42 |
How to set fuses ATmega88@20MHz xtal? I am using a 20 MHz crystal on an ATmega88, but how to set the fuses (CKSE)? Datasheet talks about a Low Power Crystal Oscillator and a Full Swing Crystal Oscillator and a Low... |
Wednesday, 22 July 2009 - 18:48 |
AVR with MP3/AAC codecs build in? Atmel should bake lowcost AVRs with MP3/AAC codecs and USB build in, could be a hit? :roll: 8) |
Friday, 5 June 2009 - 16:57 |
Idea: Stack as randomizer/random generator? If you have a fairly complex program (different timers, ISRs, push/pops, lots of rcalls.), can you use the stack as some sort of random generator? :roll: |
Monday, 30 March 2009 - 13:02 |
Why cp/cpc low/high('#') give problem? ldi temp, low('#') cp EEadrsL, temp ldi temp, high('#') cpc EEadrsH, temp brne noEnd Why give this a branch problem? It branched at 36 instead of at the # in EEPROM. |
Monday, 16 March 2009 - 17:51 |
How to estimate the frequency of a loop? How can I estimate the frequency (or period time) of a loop with lots of branches and jumps, etc.? I've got a PWM loop with 3 PWMs and animated across 7 LEDs, the loop is 40... |
Sunday, 15 February 2009 - 13:10 |
Wiper digipot per element or skip Is there a hearable difference between skipping 10 elements of a digital potentiometer or move through the 10 elements (sliding wiper)? You can set a new address of for example 10... |
Wednesday, 11 February 2009 - 22:43 |