Post Created date
Weird Debouncing Mistake ATmega328p
You can condense each test to something like this: press_down = (PINC & (1 << PINC3)) == 0; 
Friday, 17 November 2017 - 16:34
$1 MCU review — looking for AVR part suggestions
Wow! That's a very impressive write-up.   There seems to be an inconsistency between the chart and your writing.   You wrote:   Unfortunately, the STC8 simply does...
Wednesday, 15 November 2017 - 00:12
This is a goodian, tcp lost packets
I find The TCP/IP Guide to be a very useful and detailed guide to TCP/IP.   See the chapter TCP Segment Retransmission Timers and the Retransmission Queue...
Saturday, 4 November 2017 - 00:09
This is a goodian, tcp lost packets
To detect lost packets, you have to use a retransmission timer. If you don't receive an acknowledgment for a sequence number before the retransmission timer expires, send the...
Saturday, 4 November 2017 - 00:00
This is a goodian, tcp lost packets
A TCP receiver will acknowledge a sequence number only when it has received all bytes up to (but not including) that sequence number.   Say a host receives two packets with...
Friday, 3 November 2017 - 23:53
Advanced macro technology
This is starting to sound like an XY problem.
Thursday, 26 October 2017 - 16:01
SD card library file naming limitation
See the "File Naming" section at https://www.arduino.cc/en/Reference/SDCardNotes.
Thursday, 26 October 2017 - 00:04
Arduino "String" class vs c++ "std::string" class: which is faster?
jaksel wrote: Transmitting each character takes around (1/9600)*10 = 1.04 ms if running at 9600 baud 8N1. If you insert a 10 ms delay for each character then it is quite possible...
Wednesday, 25 October 2017 - 17:18
compilers are giving different results
MarkThomas wrote: I had a project with a variable "volatile uint8_t foo" in one file and "extern volatile char foo" in another file and it compiled fine.  I guess the...
Friday, 20 October 2017 - 22:29
What Makes C++ "Hard"?
mojo-chan wrote: Bah, where's my magnetized needle? I use butterflies.
Tuesday, 1 August 2017 - 16:27
Zeroring out an array
I think this discussion has gone off into the weeds with talking about string functions, while my impression is that the OP just wants to safely append a character to the end of...
Thursday, 27 July 2017 - 17:39
Overhead - C++ vs C ?
Re: number 4 (setters and getters): if you define small setters and getters in the class definition (such as simple read or write access to the private members), g++ is smart...
Thursday, 27 July 2017 - 00:15

Pages