Post Created date
Please explain this...
A write operation is anything that you execute that changes the value of the register. It's exactly what the words suggest. The register is a thing that holds values. The CPU...
Thursday, 3 January 2019 - 15:36
Sign extending unsigned number?
Just to confirm: The behavior described is, in fact, correct. It may be a "bug" in that the C specification specifies behavior that is often not what we would want, but by the...
Monday, 31 December 2018 - 17:21
A328PB while loop suddenly stops
It's reentrant, in that it won't break or anything, it's just that the "delays" it produces are not running in parallel. If you are delaying 500ms, and something interrupts you...
Friday, 28 December 2018 - 20:39
A328PB while loop suddenly stops
First debugging suggestion: Change it so each ISR is on a different pin from the while loop, like, have one on PORTC2, and one on PORTC3, and then watch them independently to see...
Friday, 28 December 2018 - 15:56
xtal ??? whut ???
20mHz is a little over once a minute.
Thursday, 27 December 2018 - 02:46
Global variables not keeping values
With a couple of weird exceptions, "static" means that the thing so modified (1) has static storage duration, (2) is not visible outside the scope it's declared in. When used on a...
Wednesday, 26 December 2018 - 15:39
ADC to HD44780 (8-bit mode) Assembler AVRStudio
Who set the requirement, if not a teacher? Usually production work won't specify choice of language, and probably won't care whether you use 8-bit or 4-bit mode to talk to an LCD...
Wednesday, 26 December 2018 - 02:59
Global variables not keeping values
You haven't shown us the definition for rcx_buffer. Given how often the answer is "it's a pointer that's not initialized" or "it's an array that's not big enough", I'd suggest...
Wednesday, 26 December 2018 - 02:56
scrolling text on one 5*7 dot matrix
  it looks like you're expecting PORTC to be the positive-voltage drive, and PORTD to be the ground/sink. this makes sense, but i think you might want to think about the...
Saturday, 22 December 2018 - 04:45
"for" loops not working with array
It's not that I'm confused by "U8" conceptually, it's that if someone is writing "U8" instead of "uint8_t", they've introduced a possible source of error that I don't necessarily...
Monday, 3 December 2018 - 16:57
AVR at 0.0uA and SD card with no ground - why does it all work?
Possible that the ground connector is also grounded to, say, some part of the shell/enclosure around the card reader, if it has one, and some part of that is touching ground plane...
Wednesday, 28 November 2018 - 16:34
ATmega88PA seemingly forgetting ASCii codes when transmitting to a HD44780
Having used that library, and used Adafruit's variant of it that's configured to work with I2C backpacks, and having studied Fleury's code... It is an awful idea to use the...
Wednesday, 21 November 2018 - 04:18

Pages