Post Created date
Empty array stored in program memory?
The extra program memory may be "the code to initialize the array storage in SRAM".
Thursday, 14 June 2018 - 12:54
I want to be professional at pointers and macro functions ..recommend a book or video
For reference, I am pretty expert in C, I know my way around it really well... And I absolutely do not like to rely on operator precedence. It's less clear, especially because of...
Monday, 11 June 2018 - 17:48
c programming -macro practice
The short answer:   The compiler can produce anything. Anything at all. It is, in fact, allowed to refuse to compile this. This is what we call "undefined behavior". That...
Friday, 8 June 2018 - 05:10
why do we need to connect all ground pins and all negative potentials together
I think there exist at least some circuits which will work even if two grounds are not connected to each other, but there are a lot which will fail, sometimes fairly...
Tuesday, 5 June 2018 - 03:50
Best C/C++ library for AVR
I feel I should point out:   A lot of Arduino code is actually really bad. There's some questionable design choices there, which can result in stuff being orders of magnitude...
Sunday, 27 May 2018 - 16:54
ARDUINO STATIC DISPLAY
"x << 0" is just "x". So I feel like this suggests that you don't have a clear idea in mind of what you're trying to do.
Saturday, 26 May 2018 - 00:44
Code for multiplexing 2-digit 7-segment display is acting strangely
The compiler is probably studying the code, concluding that you never call any function which reads the values in digits[], and thus optimizing out the writes to them because they...
Thursday, 24 May 2018 - 23:23
c++ AVR HAL
A hardware abstraction layer more complicated than the Fleury library is almost certainly a really bad choice for AVR, given how small the chips are. I wouldn't seriously consider...
Wednesday, 23 May 2018 - 15:59
memory allocation question.
I'm not clear on why you have to hold the whole thing in memory at once. usually things like this work by streaming data in. Say, have two 32-byte blocks, fill one of them while...
Sunday, 20 May 2018 - 12:19
memory allocation question.
I'm a little confused about the order of things. What is sending data *to* the atmega, and what is accepting data *from* the atmega?  
Saturday, 19 May 2018 - 22:12
dont know what to put in DDRB
There's an actual reason to just set the one bit: Sometimes you might have two bits of code which are using different sets of pins, and you want each of those bits to work...
Saturday, 19 May 2018 - 18:24
dont know what to put in DDRB
After carefully considering your stated requirements, I think you should put eight bits in it, each of them having a value which is either a zero or a one.
Friday, 18 May 2018 - 13:37

Pages