Type in the full discussion title or a part of it.
Discussion Title Created date
Problem in multiplication
The variable test must have result 1000000, but as result comming 16960. What is wrong? #include #include #include int main(void){ while (1){ unsigned char...
Friday, 25 July 2008 - 19:18
Problem with PROGMEM array
I have the following code: #include #include void printtext(PGM_P s); const char Msg2[] PROGMEM = "1234\0"; const char foo[] PROGMEM = "Foo\0"; const char bar[]...
Monday, 14 July 2008 - 10:29
AVR Libc documentation PDF version?
Is there PDF version of AVR Libc documentation?
Sunday, 13 July 2008 - 18:29
2D array question
const char Msg1[] PROGMEM = "Msg1\0"; const char Msg2[] PROGMEM = "Msg2\0"; const char Msg3[] PROGMEM = "Msg3\0"; const char Msg4[] PROGMEM = "Msg4\0"; How can I make the...
Saturday, 12 July 2008 - 20:03
16bit Binary to BCD conversion
Is there any routine in C that reads one 16bit value and converts to BCD?
Friday, 11 July 2008 - 19:33
\n newline character
According to K&R book Quote:Notice that \n represents only a single character why in the following constant string '\n' is use more than one character in programm memory?...
Wednesday, 9 July 2008 - 19:21
tiny15 on AVR GCC
When I make program for ATtiny15 the compiler responses with the following message: "MCU not supported by the C compiler" Is not possible to make programs for ATtiny15 on AVR GCC?
Monday, 7 July 2008 - 10:50
Passing string to an array
How can I pass a string to a dimension Variable? for example printtext ("test"); the result to be same as the following display[0] = "t" display[1] = "e" display[2...
Wednesday, 2 July 2008 - 20:10
joining assembly files with C
With what way can we join in a C program, files written in assembly language?
Tuesday, 3 June 2008 - 23:40
equivalent C code for assembly instructions BST, BLD
The following assembly-routine reads the bits of yh register, change them position and place them to xh. Is there any equivalent c routine, where after compilation of it the hex...
Tuesday, 3 June 2008 - 02:14
AVR GCC - function return values
how a function can return two or more values?
Monday, 2 June 2008 - 17:37
AVR GCC - Debugging problem
I have write this small program in AVR Studio and when debugging the program pointer is always remaining in the line "int main (void)". What is wrong? #include unsigned char...
Monday, 2 June 2008 - 17:13