Type in the full discussion title or a part of it.
Discussion Title Created date
Using Doxygen to document code.
I'm just wondering has anyone used to comment Doxygen their C code. I'm trying to back apply (if that makes sense) to code that has already been written, and I'm stuggling to get...
Friday, 11 April 2008 - 11:18
Float division/multiplaction by 10
Am I correct in my thinking here? Dividing/multiplying a float by 10 (or 100, 1000 etc..) is just a case of incrementing / decrementing the exponent. E.g. 123e4 / 10 = 123e3...
Thursday, 10 April 2008 - 11:11
PC/Windows GNU IDE
My apologies that this isn't directly related to AVR/GCC but I thought I'd through this one out. Basically I'm would like to develop a fairly simple PC based programme, so I'm...
Wednesday, 26 March 2008 - 12:23
Entering Binary Numbers in IAR
A little bugbear of mine..... Is there any way to quickly enter a binary number in IAR. E.g. In some compilers I could write: a = 0b00010101; // Binary Where as in IAR I can...
Wednesday, 26 March 2008 - 12:18
bit fields or boolean?
I'm currently using the IAR compiler on a Mega128. I have a number a flag like variables (1 or 0). I'm currently storing them as a bitfield in a 8 bit char. E.g. #define...
Tuesday, 19 February 2008 - 12:46
Static Functions
If I declare a function as static - what happens/is the effect? E.G. static uint8_t My_Function(void) { return 0; } Basically I want a function that is only visible to...
Thursday, 31 January 2008 - 16:48
IAR & Global variables
A question for the IAR users. In IAR Is there anyway of seeing how many (total) bytes your current global variables occupy or how many bytes you have left to stick more global...
Thursday, 24 January 2008 - 11:15
Style of commenting
Is there any prefered way of commenting code. (I.e. // or /* */). I am guessing that there is no differencee but I have a vague recolection of being told that one method should...
Monday, 10 December 2007 - 17:25
Set a variable to NaN (Not a Number)
I have a function that is required to return a NaN if the result of the calculations within the function are outside limits. How can I set a floats value to NaN In psuedo code:...
Friday, 9 November 2007 - 12:27
Transmit float over UART/USART
I need a simple way to transmit a float over UART/USART, so that it can be recived in a human readable form. In this case I'm not greatly concerned over the method - just that the...
Thursday, 1 November 2007 - 10:50
Debugging Problems with CodeVision/AVR Studio/JTAG
I've recently come across a problem with debugging in AVR Studio with JTAG. I usually write.compile in Codevision and then debug usign AVR Studio/JTAG. The steps I follow are: 1-...
Tuesday, 23 October 2007 - 15:17
Graphin RS232/UART data on a PC
Not directly about AVRs but. I'm planning on prototyping a sensor, where by I talk to the sensor via I2C to get a reading. For the purposes of this evaluation I want to send the...
Friday, 19 October 2007 - 15:07

Pages