Discussion Title | Created date |
---|---|
What happens when executing timer start after timer started? What happens when executing a timer start after a timer has started? Will it restart, but I do not reset the timer counter. Looks like nothing will, so doesn't matter? |
Sunday, 19 November 2006 - 14:51 |
[ASM] Multiplying -5 by a number How can I multiply -5 by a number? This is what I got now. subi XL, low(-5*2) sbci XH, high(-5*2) How can I multiply the low(-5) by a variable (register)? Want to multiply... |
Thursday, 16 November 2006 - 18:22 |
Endstops when stepsize > 1 This is the endstop I use. incCnt: cpi volume, 255 breq stopInc inc volume stopInc:ret But if stepsize > 1 doesn't work anymore. How can I make endstop that stop the count... |
Monday, 13 November 2006 - 15:14 |
Executing reti without passing vector What will happen when the program jumps inside the ISR routine, and what happens is it return with a reti. What will happen? (sei was executed at init.) |
Thursday, 9 November 2006 - 22:07 |
More resolution ADC with differential? If I use the ADC of a ATtiny13 at Avcc and use 0-5V as scale, I have a resolution of 5/1024th. When I use a window somewhere (don't know where) of 1V, I have 1/1024th? But the... |
Thursday, 9 November 2006 - 11:05 |
How to hook an optocoupler to an i/o? Can I hook a transistor (ce, basis is IR) optocoupler direct to an i/o? I use 5V supply. |
Thursday, 2 November 2006 - 11:35 |
if counter < 0 won't work tst counter ;set lower end brlo noDEC ;do not DEC if counter < 0 Why does this lower endstop not work? It skips it. I want blockade. Thanks. |
Sunday, 22 October 2006 - 12:41 |
32kHz PWM only possible with an i/o? I need a 32kHz PWM signal. Is this possible with the PWM hardware? |
Friday, 20 October 2006 - 08:58 |
Fast moving vert.line on a LED matrix How can I move a vertical line (fast) straight across a LED (dotmatrix) display without tilting ? The problem seems the way I multiplexing the screen. I mux (scan) the rows (top... |
Friday, 6 October 2006 - 11:59 |
Trick with .SET does not work? Why does this trick not work? sbrc flags, 0 .set rowbit = 0 sbrs flags, 0 .set rowbit = 1 Or does the .SET directive not react on instructions? |
Tuesday, 5 September 2006 - 19:17 |
Adjusting OSCCAL for timer adjust Need to adjust the timer a littlebit, but want to use the internal oscillator. (tiny13) Good idea to adjust the internal oscillator with OSCCAL? I want (near) exact frequencies.... |
Tuesday, 29 August 2006 - 17:24 |
How to make a value positive? When I substract two numbers, for example. 100 - 120 = -20, in 8-bit it's 0(256)- 20 = 236. But I need the number 20. Can also be. 120 - 100 = 20. Wasn't carry set? So I can use... |
Saturday, 26 August 2006 - 13:35 |