Post Created date
ATXMEGA 256A3( AU0945 ) and ATXMEGA 256A3( AU1135 )
Fuses set different?
Tuesday, 20 March 2012 - 13:28
JE-AN 1286404 Graphical displays
Looks like the driver chip is T6963C and not KS0108.
Tuesday, 20 March 2012 - 13:17
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...
Tuesday, 20 March 2012 - 10:59
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...
Monday, 19 March 2012 - 21:57
AVR I2C Communication
Use separate SCL lines for each battery.
Monday, 19 March 2012 - 15:04
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...
Thursday, 15 March 2012 - 18:50
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.
Thursday, 15 March 2012 - 15:33
Trigger ADC at Ton/2
I have had good results running ADC clock at 1MHz for 8-bit resolution.
Tuesday, 13 March 2012 - 13:15
Seemingly simple RTC problem.
The 2-3Hz thing could be caused by MCU resetting.
Sunday, 11 March 2012 - 03:24
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...
Saturday, 10 March 2012 - 10:03
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...
Saturday, 10 March 2012 - 01:06
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...
Saturday, 10 March 2012 - 00:47

Pages