Post Created date
USART DATA RECEIVE FROM MULTIPLE TRANSMITTER.
It's a design issue. You can't use the same serial port with two devices simultaneously. What voltage level are you expecting to see when one of them has TX low and one has TX...
Sunday, 22 April 2018 - 18:22
Quadruple Dutch warning
"Set but not used" warning: Why are you setting a value, if you're not using it? To fix the warning you must answer the question.
Sunday, 22 April 2018 - 18:08
Atmel Studio code optimization: how can this be possible?
It's not that it's a mystery why it happens at all that causes trouble. It's that it becomes much harder to understand the relationship between the state of the machine and the...
Sunday, 22 April 2018 - 17:43
Atmel Studio code optimization: how can this be possible?
clawson wrote: Competent programmers learn to understand the "jumping about" thing. I wrote an article in the Tutorial Forum to  try to explain it to them.    ...
Sunday, 22 April 2018 - 16:07
TWI comunication between two arduino
Simonetta wrote:with arduino use wire.h library por allí TWI   I wouldn't really recommend it. Not that long ago, I ran into a problem with TWI communications locking up....
Saturday, 21 April 2018 - 21:06
Atmel Studio code optimization: how can this be possible?
I can't say I entirely disagree, but when I was doing toolchain maintenance, the #1 complaint people had about debuggers was "this debugger is wrong, look how the execution flow...
Saturday, 21 April 2018 - 20:38
Atmel Studio code optimization: how can this be possible?
Most of the people I know using debuggers prefer -O0 specifically because there's no reordering of code. Which, admittedly, makes it a lot more bloated, but it also means that you...
Saturday, 21 April 2018 - 18:22
Atmel Studio code optimization: how can this be possible?
That does look a lot like it's not recognizing that ADCSRA is a magic register, and is instead just using local storage for it.   If you make a smaller program (say, by...
Thursday, 19 April 2018 - 03:37
whats mistak/error in 6 number counting in code vision to compiling (999999)
Okay, so, the "n1" stuff is pretty confused, and I don't think that actually works in C, but I at least sort of see what it's doing.   There's a large code block in the...
Wednesday, 18 April 2018 - 14:57
Solved: Simplest way of putting multiple variables into ASCII array
Just a note: While this will work, it is extremely inefficient. Each time you're calling strlen, it's running through the whole string. The memset is unnecessary, and probably-...
Tuesday, 17 April 2018 - 17:42
Solved: Simplest way of putting multiple variables into ASCII array
You have a fairly large number of errors here in that sample code.You're calling memset on data_packet twice, I think you wanted the first one to be temp_array, but also...
Monday, 16 April 2018 - 20:19
ATtiny44A PORTA configuration
I've gotten bitten by "why isn't PORTx changing?" several times, I always forget about the PIN thing.
Monday, 9 April 2018 - 17:08

Pages