Discussion Title | Created date |
---|---|
char as index.[solved] Are there any way to avoid a warning for this when i is a char ? buffer[i]=10; I do know that buffer[(int)i] make the same code, but is that the only way out? |
Wednesday, 24 November 2010 - 12:18 |
Problems with lockbits etc with stk500 First I'm not sure if this is a Studio 4 problem stk500 problem or perhaps a chip problem. I'm working on a project with a Mega16 and a mega1284 and I think that I once tryed to... |
Sunday, 14 November 2010 - 10:15 |
NEW instructions XCH LAT etc. Like others I hate the new layout of the instructions manual so I use the old one. Today I had a look at the new version (7/10) and that one has added XCH and other functions (... |
Monday, 1 November 2010 - 11:16 |
Why rcall to it self in the output code? This is not a problem but why does the compiler make this code for a function (-Os) push r29 push r28 rcall pc+0 my code pop r0 pop r0 pop r28 pop r29 this is typed so it'... |
Friday, 29 October 2010 - 13:01 |
Wrong path for delay! I'm using delay with GCC and get no errors or warnings but in the disassembler window show this Quote: ---- C:\AVR\AVR\default/c:/winavr-20100110/lib/gcc/../../avr/include/util/... |
Friday, 29 October 2010 - 12:22 |
disable the interrupt flag. What is the official (nice) way to disable the I flag from within a interrupt? In ASM I just make a RET and not RETI but that is not a option in C or is there a way? I do know... |
Saturday, 16 October 2010 - 12:11 |
simple charge pump for -3V I have a AVR dev board that take the negative voltages from the RX (not a max232). That works fine when it's connected to a PC. Now I need two kits to talk to each other! (but... |
Thursday, 14 October 2010 - 12:03 |
An other optimizer problem. Can anyone tell me why the volatile has to be placed there for the program to work with -OS //function unsigned int readtimer(volatile unsigned int *addr){ unsigned int temp... |
Monday, 11 October 2010 - 10:24 |
Looking for remote with RF link and LCD I'm looking for a two way OEM RF remote with a LCD display something like a BW 128x64. I only need 3 keys or a touch screen. The battery life need to be good (but can live with... |
Tuesday, 28 September 2010 - 12:17 |
Max volt for AT25DF081 Now when it's hard to get some dataflashes I got some AT25DF081, but did not read the hole datasheet! they a rated at max 1.95V. But the "Absolute Maximum Rating" say All input (... |
Tuesday, 6 July 2010 - 10:26 |
Atomic problem. In ASM I'm used to have a (low)register pair I use to get data to/from an interrupt. I avoid atomic problems by only use MOVW in "main".(the interrupt can use normal 8 bit... |
Tuesday, 6 July 2010 - 09:50 |
USB rs232 and stk500 I'm sure that this can be found somewhere in this forum but a quick search did not solve it. I have a windows (XP) on a PC without a RS232 port. Can I use a USB to RS232 with a... |
Thursday, 10 June 2010 - 07:17 |