Post Created date
Compare array of char and string
You can't do it like your last example. As to efficiency, that depends on the situation (is it a fixed string, do you do it once or do you repeat the comaprison, etc) and if its...
Thursday, 16 August 2007 - 20:16
Solved: Delay.h not working?
Just in case... If you are using AVRStudio then be aware that the programming dialog does not automatically change the target to load -- you have to do it manually. This can be...
Monday, 13 August 2007 - 07:40
AVR tool chain with avrduce on mac osx intel
I have osx-avr and use avrdude... avrdude is in /usr/local/bin
Friday, 3 August 2007 - 23:32
qsort() question
The following is extracted from the online documentation for avr-lib... Quote:void qsort ( void * __base, size_t __nmemb, size_t __size, __compar_fn_t __compar ) The qsort()...
Saturday, 28 July 2007 - 09:54
hardware needed to maken USART work?
P.S before anyon e hangs me!!! I made a rash assumption that you are using gcc! If not then see compiler specific library documentation.
Friday, 27 July 2007 - 13:06
hardware needed to maken USART work?
Have you read the documentation for itoa in the avrlib docs? you have to #...
Friday, 27 July 2007 - 13:01
hardware needed to maken USART work?
LOL - Cliff did it for you :)
Friday, 27 July 2007 - 11:08
hardware needed to maken USART work?
No... as the AVR hasn't got an O/S, once the 'program' ends you reach theend of the world :) Just put your existing last 2 line of 'main' code inside while(1) {...} :)
Friday, 27 July 2007 - 11:07
hardware needed to maken USART work?
Have you programmed an infinite loop in the AVR? (Cliff's FAQ #2).
Friday, 27 July 2007 - 10:59
hardware needed to maken USART work?
There's no reason why you can't use the same comms port on the PC, as long as you connect the secondary connector of the STK to the PC (i.e. switch over between programming STK500...
Friday, 27 July 2007 - 08:34
Question: Changing Pins from Inputs to Outputs
Yes, use the DDRx register to set the i/o direction of the pins.
Tuesday, 24 July 2007 - 20:46
1. Someone else can answer that 2. AVR is a product line. No, Atmel don't give out free compilers. BUT there is a GNU C compiler that is in wide use on windows (just google WinAVR...
Monday, 16 July 2007 - 16:04