Post Created date
AVR Timer in CTC mode Problem
vladislovas123 wrote:What is wrong? Port pin is not configured as output.
Wednesday, 24 April 2019 - 12:52
Bugs in simulator ??? or just me.
Artandsparks wrote:Is there something I just don't get An option in the debugger settings. It says something along the lines of "mask interrupts while single stepping", and...
Saturday, 6 April 2019 - 14:23
How to use named sections in C for data
clawson wrote:But why would you need to do that? Is it simply so it can be LDd ? Yes. It looks like he wants to pass a pointer to it to a "normal" (non-LPM) function. Or in...
Wednesday, 27 March 2019 - 13:38
How to use named sections in C for data
Use --section-start=.myappdata=0x8800 to get the correct code. Then simply change the address of that section while exporting it into the HEX file: avr-objcopy ... --change-...
Wednesday, 27 March 2019 - 13:21
accessing Array in EMEM struct with __flash pointer array
trebor80 wrote:I still see some advantage in using a loop, and deciding within it how to read the struct element depending on its type. If each loop iteration knows the type of...
Tuesday, 19 March 2019 - 18:57
My custom pinMode function causes led to light dimmer
saavedra29 wrote:Why with my custom pinMode function it's so dim? Because the pin doesn't become an output then. There is a & missing within the function call.
Friday, 15 March 2019 - 08:49
Send x bytes through SPI interrupt
europa35 wrote:I don't understand why the matrix don't receive the both bytes of data The SPI interrupt is never enabled. The line that is supposed to do that does actually...
Sunday, 10 March 2019 - 08:57
TRAFFIC LIGHT WORKING NOT RIGHT???
Newchance wrote:GREEN & RED ON BUT YELLOW NOT ON??? Neither do you ever change the state of PortB3, nor is it even configured as output in the first place. Hint: << and...
Tuesday, 5 March 2019 - 15:57
Data in flash looks different than in data memory
Sorry for misleading you. I was thinking of foo.len. MyData.len is nowhere. But if you meant someArray[x].len, that is of course in Flash.
Monday, 4 March 2019 - 18:49
Data in flash looks different than in data memory
IchZeigsDemMauszeiger wrote:Tested both versions, both print 99, I assume coincidence? No, optimization. With that simple examples nothing is really read from anywhere. The...
Monday, 4 March 2019 - 18:39
Data in flash looks different than in data memory
IchZeigsDemMauszeiger wrote:Is MyData.len not in flash? No, it isn't.IchZeigsDemMauszeiger wrote:Then however I do not see why foo works without any __flash attribute applied to...
Monday, 4 March 2019 - 18:14
Data in flash looks different than in data memory
El Tangas wrote:what does the compiler do in case a function like printBinaryByte() is used for both flash a RAM variables? Normally such function would get the actual byte...
Monday, 4 March 2019 - 17:21

Pages