Post Created date
TIP! The code that makes the useless pdf less useless.
But how would they at Atmel organize all their PDFs into a nice numbered list if they used meaningful names? Be thankful they aren't named "document.pdf" as some sites do.
Tuesday, 29 October 2013 - 20:38
The C and C++ existing items adding issue
The fundamental issue is mangled names, which are necessary because C++ allows overloading (same named functions that take different sets of arguments). Way back it was decided...
Tuesday, 29 October 2013 - 02:53
The C and C++ existing items adding issue
You're probably trying to call C/asm code from C++. For that, you need to use extern "C" or mangled names will be used. // main.cpp extern "C" void c_func( void ); ... If lots...
Monday, 28 October 2013 - 21:31
Thermometer on USB, using "native" (LUFA) or &quot
Maybe OP wants it to be easy to find this device among other serial devices. I saw some posting here I believe where they just poll the ports for the periodic signature their...
Monday, 28 October 2013 - 00:35
Variable Goes to Flash. Is it a bug?
Is it a problem that you can't get the address of a struct that is never references anywhere in the code?
Thursday, 24 October 2013 - 00:12
Frequency meassurment - how to increase accuracy?
I spent more time on this, and verified that you can multiply the deviations from the predicted value by x and put that over Sxx in the end to get the best-fit deviation from...
Wednesday, 23 October 2013 - 02:34
Volatile variables in structs
hobbss wrote: What happens if tick_happened gets optimized away, but tick doesn't? Does the struct still exist as an entity? If the code could tell (e.g. taking the struct's...
Wednesday, 23 October 2013 - 00:38
Volatile variables in structs
It's fine. tick is a volatile object, as it would be in any other context with the volatile keyword. What makes you think it wouldn't be volatile because it's in a struct?
Tuesday, 22 October 2013 - 19:45
Frequency meassurment - how to increase accuracy?
KKP wrote:Once OP has the timestamps working, it is time to think back to something learned in school: The 'best line fit', specifically the 'least squares first order regression...
Tuesday, 22 October 2013 - 00:41
UART on ATMEGA2560 - 57.6k works but not 115.2k
coolarm wrote:However I have one final question. When I connect my terminal program at 115.2K to the COM port, I first have some 4-5 ASCII extended chars being displayed by my...
Monday, 21 October 2013 - 22:15
how to perform calculation in Attiny2313-code written in C
dbrion0606 wrote:psi = (addat *5 *15) / 1023; // You might also fudge the 1023 to 1024 and avoid needing to link in division code. This would only give you a 1/1023 error (0.1...
Monday, 21 October 2013 - 18:48
Problem using template
Your code is full of problems of all sorts: 1. It doesn't #include stdint.h or avr/io.h, so won't compile on its own. A header file should stand alone. 2. As mentioned, the port...
Monday, 21 October 2013 - 18:47