Post Created date
C++17 component to use SSD1306 displays using ATtiny85
Certainly, it's true that C++17 offers a lot of fancy new features that might allow better code generation. How does that work out? Do you have any benchmarks or comparisons for...
Monday, 20 January 2020 - 06:17
just a general question on embedded c
I would usually avoid C++ because the language is enormous and impossible to keep up with. Do you know what the "<=>" operator does? You need to, because it got added! So...
Thursday, 9 January 2020 - 15:54
Avr Multitasking problems??
Anshumaan wrote: Here is what I have done to implement the countdown under a button press. It works but is this the way to do it?? counting--; unsigned char countingbuffer...
Saturday, 21 December 2019 - 05:26
copy hex code
I would not expect any protection technology you can actually get to protect you against a highly motivated attacker.   Which is to say: If it's worth the money to steal it,...
Friday, 13 December 2019 - 06:22
GOTO from inside of ISR? (Atmega32a & 328pu)
I've seen goto used in C as a way to improve the clarity of error-handling code, but it's rare. But it is a thing that sometimes makes sense. But only within functions, usually.
Thursday, 12 December 2019 - 17:23
GOTO from inside of ISR? (Atmega32a & 328pu)
Quote:I thought that was no longer the case with modern compilers: source   That source is, I think, missing the point -- and at least partially wrong, it claims that a goto...
Thursday, 12 December 2019 - 05:25
String corruption, but only when using itoa()?
I'd point out, "you now use itoa on that string" is not actually fine. That's writing to a literal and is undefined behavior. On a lot of systems, that will fail. It might kill...
Sunday, 8 December 2019 - 20:01
Filtering receive data on UART echo
Huh, that's fascinating. Is that true even for sysex data dumps, etc?
Saturday, 16 November 2019 - 00:58
Filtering receive data on UART echo
You almost certainly need to actually identify the messages, because otherwise, the three bytes you're looking for could occur elsewhere in messages. (For instance, it's possible...
Friday, 15 November 2019 - 23:13
delete post
Most communities don't generally let people delete posts -- posts on technical topics are of interest to other participants, they aren't only for your benefit. But if they do,...
Monday, 28 October 2019 - 15:59
Copy the code from an Atmega8a to another one.
It's not obvious that anything here that the user wants to copy is protected IP. If the friend made their own dongles, rather than copying the vendor's, they're not copied...
Wednesday, 2 October 2019 - 15:06
How to convert and store uint16_t value into 4 Hex chars?
Hang on.   +4?   Shouldn't the 4th element be [3], or *(AT_Send + 3)?   0, 1, 2, 3. [4] of a 4-character string is outside the string.   This is why it's...
Monday, 23 September 2019 - 01:38

Pages