Post Created date
preprocessor macros across files
@clawson: you are talking about layering software, I am ok in that case. what I am talking about is #includes inside #includes, IMHO this is a no no!. If we assume that we have a...
Tuesday, 29 March 2011 - 15:50
CppUTest on the target
Quote: I find that a "real" unit test framework is just too heavy for running on the AVR along with whatever code needs to be run as well... just don't do it, use a simulator for...
Tuesday, 29 March 2011 - 06:16
CppUTest on the target
I also have read the same book and use the cpputest and unity, in my case I prefer unity and cmock because of all the automatic code generation that does underneath. of course,...
Tuesday, 29 March 2011 - 06:13
preprocessor macros across files
Well, my take is to never have nested include, it makes your live miserable. Better to add that extra line in the implementation file.
Tuesday, 29 March 2011 - 05:42
function macro question
crazy idea, change the case to lower case. I have found that typing the correct case is tedious. from: void USART_SendByte(USART_t USART, uint8_t Data) to: void...
Tuesday, 29 March 2011 - 05:35
large float issues
float, doubles for julian dates? I will say do it in uint32_t or uint64_t. float point is not required for this type of things.
Tuesday, 29 March 2011 - 05:27
Error after the declaration of an int testarray[150][2]; CV
I think the issue is in the way you are declaring that variable. defines.h extern int testarray[150][2]; defines.c: int testarray[150][2] = {...} the question is who own that...
Tuesday, 29 March 2011 - 05:20
Studio 4 and code versioning system
You guys, please try hg/git/bazar. the merge process is way orders of magnitude better than svn.
Sunday, 1 November 2009 - 04:37
Studio 4 and code versioning system
CVS is really old tech, thing of the pass. Try using mercurial, git or bazar, I personally use mercurial (hg) and is awesome. In that way you learn new stuff while doing small...
Friday, 9 October 2009 - 05:47
Well, you have a long mile to go. 1> configure your ADC. I don't see your ADC configuration. 2> In which mode do you want to use the ADC? 3> Then your code, assuming that works,...
Monday, 2 March 2009 - 01:15
ATmega32 and TLV5604 DAC
If you want to clear a bit then try this: PORTA &= ~( 1 << PA0 ); if you want to set a bit then try this: PORTA |= ( 1 << PA0 ); But what you are doing it...
Monday, 2 March 2009 - 01:02
AVR z-link Zigbee - Is this best solution
mhardy511, Hey, I know that we are in an AVR forum and I love to work with AVR's but check freescale Zigbee solution, everything is in a single chip, and the cost, at least in...
Saturday, 10 November 2007 - 17:39