Post Created date
ATXMEGA 256A3( AU0945 ) and ATXMEGA 256A3( AU1135 )
Fuses set different?
Tue. Mar 20, 2012 - 01:28 PM
JE-AN 1286404 Graphical displays
Looks like the driver chip is T6963C and not KS0108.
Tue. Mar 20, 2012 - 01:17 PM
JE-AN 1286404 Graphical displays
I have some assembler code for KS0108 drivers. I wrote it ten years ago for a CrystalFontz display. The thing that was a bit annoying was that the display is divided vertically in...
Tue. Mar 20, 2012 - 10:59 AM
Atmega32u4 Interrupt
Enabling Sleep in SMCR is not the same as actually going to sleep.In .asm this is how it's done. sleep_sequence: ldi temp,0x07 ;enable SLEEP in out smcr,temp ;POWER SAVE...
Mon. Mar 19, 2012 - 09:57 PM
AVR I2C Communication
Use separate SCL lines for each battery.
Mon. Mar 19, 2012 - 03:04 PM
Invalid Register (in my case register Z)
using same registers (ZH,Z) as source and destination might bite you. Assembler datasheet seem to imply that the result is only undefined if the source is pre-decremented or post...
Thu. Mar 15, 2012 - 06:50 PM
reading adch 5x and average
If you take average of conversions made 2,4,8 or 16 times and so on you only need to use LSR instruction (divide by 2) for divisions.
Thu. Mar 15, 2012 - 03:33 PM
Trigger ADC at Ton/2
I have had good results running ADC clock at 1MHz for 8-bit resolution.
Tue. Mar 13, 2012 - 01:15 PM
Seemingly simple RTC problem.
The 2-3Hz thing could be caused by MCU resetting.
Sun. Mar 11, 2012 - 03:24 AM
controlling two servo via single pin using ATmega32 ??
Should be doable. A servo frame takes 20mS but the actual control pulse(PWM) is only 2ms at the start. Nothing stop you to control other servos on same pin during the remaining...
Sat. Mar 10, 2012 - 10:03 AM
help switching from multiple analogReads to adc code
Quote:I have been hearing that you should set up an interrupt with your timer (say an OVF from timer 0) and then call each adc call from that inside the ISR instead from inside...
Sat. Mar 10, 2012 - 01:06 AM
Using EEPROM
Quote:ldi ZL, 2 ;Z-pointer points to r2 should look like: Code: ldi ZL,r2 ;Z-pointer points to r2 More like this if you actually want to move r2 to ZL and not load 2 into ZL as...
Sat. Mar 10, 2012 - 12:47 AM

Pages