Type in the full discussion title or a part of it.
Discussion Title Created date
Stringify complex expression
Greetings I have a problem with stringification of a pre-processor macro.   #define FAST_SIN_PHASE_RESOLUTION 1024 #define PZT_TICK_FREQ_TO_FASTSIN_RES_SHIFTS...
Tue. Jun 20, 2017 - 08:32 AM
assert() gives me "incompatible implicit declaration of built-in function 'abort'"
I am trying to use the assert() function from assert.h in my code:   #include <assert.h> // ... char txok; // ... assert(txok);When I compile, I get this error:...
Fri. Aug 19, 2016 - 10:03 AM
Want error instead of warning "assignment makes pointer from integer without a cast"
I am using Atmel Studio 6.0 (with AVR-GCC) and discovered that this code will give a warning: uint8_t *tx_len; tx_len = 20;  The warning is "assignment makes pointer from...
Wed. Aug 17, 2016 - 10:52 AM
Problem registering at savannah.gnu.org
I tried to register at savannah.gnu.org twice, but I haven't got any confirmation email (I used my hotmail account). Checked the junk folder just in case, but no email there. Also...
Sat. Dec 18, 2010 - 03:12 PM
How to check loss of precision using pre-processor?
This should be a common task, but I couldn't find any information in the forum (quick search only). In my C code I declare a timer overflow frequency using: #define...
Thu. Nov 25, 2010 - 10:59 AM
OK to sei() in SIGNAL function?
In one of my SIGNAL functions I need to enable interrupts for around 1 second. Is that allowed? Seems like it's not working properly...
Sun. Jan 22, 2006 - 10:03 PM
Programmers Notepad output window disappeared
Hi everybody I accidentally click-dragged the output window out of the PN window, and it disappeared. I cannot get it back! :-( Pressing F8 makes the PN window inactive, as if...
Tue. Jan 3, 2006 - 01:53 AM
yes, it is another lookup table question
I want a table with unsigned int's in program memory. This is how I declare it: #define baud38400 12 #define baud19200 25 #define baud9600 51 #define baud4800 103 #define...
Sun. Nov 6, 2005 - 08:15 PM
Clamping current
Does anyone the max allowed current through the clamping diodes of the ATmega8 (or any other AVR)?
Mon. Oct 24, 2005 - 01:52 PM
Strange RS232 stuff
I just discovered that the stuff sent through the serial port of my laptop behaves really strange. I use Hyperterminal, and a USB-to-RS232 adapter. I have an oscilloscope...
Sun. Oct 23, 2005 - 10:12 AM
Initializing a union
Hello boys & girls I want to initialize a union that I use for holding a lot of flags. This is the union: union LCD_ConfigFlagsType { unsigned int all; // 16 flags...
Fri. Oct 21, 2005 - 11:42 AM
Polymorphism with WinAVR?
This thing has been bothering me for some time now... I have a program where I load variables of varying sizes from EEPROM. I use a special function for this. I need to use...
Fri. Oct 14, 2005 - 04:19 PM