Post Created date
Square wave generation avr.
...still OR'ing in initport() rather than assigning and not a (useful) comment in sight... ...and a sledgehammer approach to treating the whole of PORTB at once rather than the...
Monday, 20 February 2012 - 13:27
[ATmega32A][Assembler] Problem with input register.
I always put a 100ms to 200ms delay at the start of the code to allow for the AVR and any surrounding electronics to stabilise..
Sunday, 19 February 2012 - 09:32
Square wave generation avr.
Until you move the IF into the WHILE loop (again :() you will only get one frequency. So if you leave the code as is, and restart the program with different logic levels on Port...
Saturday, 18 February 2012 - 20:03
Square wave generation avr.
So maybe you have to debug in stages rather than try the whole thing first time and not know what works and what doesn't? So take out the PIN testing for a moment - what does this...
Saturday, 18 February 2012 - 16:45
Square wave generation avr.
...and two minor points for extra marks: DDRB|=0xFF; DDRA|=0x00; should really be DDRB=0xFF; DDRA=0x00; (OR'ing something with 0xFF sets it to 0xFF; OR'ing something with 0x00...
Saturday, 18 February 2012 - 13:54
Hi again everybody, Can someone help me with this code?
...and you also have Quote:while (condition is met) { //code } ...so you can choose: - 0 or more iterations, condition checked before code (while... version) - 1 or more...
Tuesday, 7 February 2012 - 08:09
Reading external interrupt pin
sajmon5544 wrote:Can I even read PIN state when its configured external interrupt?Yes - just read it as you would read any other pin
Thursday, 19 January 2012 - 13:22
IAR compiler, acquire absolute RAM addresses
alexis4 wrote: It seemed that during EMC test nothing was working properly except timer interrupt. So I thought that maybe the best place to do this check is inside timer...
Sunday, 15 January 2012 - 11:19
gang programming ATTiny DIP
...like this you mean? http://www.tag-connect.com/
Friday, 13 January 2012 - 22:00
set USART to high baud rate without getting errors
Interesting - thank you
Monday, 9 January 2012 - 15:57
set USART to high baud rate without getting errors
Brian Fairchild wrote:etminasm wrote:Hy, clock source is 8 MHz external crystal I will try with some other terminal software. That probably won't help. PC's suffer the same...
Monday, 9 January 2012 - 14:28
avrdude problem!
What was the real command you used? It's -U not U- and there should be no . at the end
Thursday, 5 January 2012 - 07:56

Pages