Discussion Title | Created date |
---|---|
Pause/Pulse + Pulse/Pause PWM? Is it possible to set a pause/pulse to a pulse/pause PWM period, so the middle will be a pulse which can be adjusted from two directions, so more resolution. So were the pulse of... |
Monday, 30 July 2007 - 11:38 |
No AVR with 16 bit fast PWM and PLL? I wonder which AVR has a 16 bit timer with fast PWM and a PLL at 64MHz. I need 12bit PWM @ 15kHz. |
Tuesday, 24 July 2007 - 19:28 |
How change the duty cycle of a sine? I wonder how to change the duty cycle of a sine. Sine is always 50-50, how can I change this? I have a sinetable with for example 256 samples. Looks like I cannot use the... |
Friday, 20 July 2007 - 11:44 |
Drawing lines on an LCD I can plot pixels on an 128x64 LCD (controlled with an ATmega8), but how can I draw a line? For example I want a line from 0,0 to 63,7. How can I calculate the points (pixels) in... |
Friday, 11 May 2007 - 13:41 |
[ASM] can this be done differently? It's not the perfect way? notLow: cpi Y, 8 breq loEight brlo loEight ;if Y > 8, subi Y, 8 ; -> Y - 8 rjmp notLow loEight: Is there a shorter and better way to do this? |
Friday, 4 May 2007 - 17:16 |
How can I stipulate the pagenumer? Pageheight is 8 pixels, and I have 8 pages (0-7) (64 pixels displayheight) How can stipulate the pagenumber when Y for example is 39? calcPg: subi Y, 8 ;Y - pageheight brsh... |
Thursday, 3 May 2007 - 12:17 |
How from number to bitnumber? (ASM) How can I set a bit corresponding to the number in a register? (numbers 0 to 7) For example. 00000101 -> 00100000 (five -> 5th bit) |
Thursday, 3 May 2007 - 10:43 |
timer1 ovf, LED off, @ ADC a glitch I am free running the ADC (tiny26), and start timer1 @ ck/16384 when the ADCvalue reads 120 (means ovf after 0.524 sec ,AVR running @ 8MHz RC clock), and when a timer1 ovf occurs... |
Thursday, 12 April 2007 - 12:56 |
RC=8MHz, ADCclock 4MHz, t=3.25usec? Is this correct. An ATtiny26 running @ 8MHz internal oscillator, ADCclock = 4MHz (clk/2) Does this mean one conversion takes 3.25 usec? (13ck/4MHz) |
Tuesday, 3 April 2007 - 20:01 |
Interrupt on ADC value? How can I let the software interrupt on a certain ADC value? |
Wednesday, 28 March 2007 - 22:41 |
AVR @ 32.768kHz & ADC @ full speed If I run an AVR @ 32.768kHz, will the ADC speed also decreases? System clock down is ADC clock down? How can I run the AVR @ 32.768kHz and the ADC at full speed? Thanks. |
Monday, 26 March 2007 - 21:13 |
How can I do an Arithmetic Shift Left? How can I do an Arithmetic Shift Left? How can I reverse ASR. (bit0 must be held contant) sec rol toggle0 Problem is, I have to shift 20 bits in 3 registers to the left like an... |
Thursday, 8 February 2007 - 22:13 |