Post Created date
Why it is promoted to int?
MrKendo wrote: The problem was not appreciating that if you have this as part of a larger expression while ((time_now - time_start) < 10) then due to integer promotion the...
Sunday, 13 September 2020 - 19:35
Why it is promoted to int?
kk6gm wrote: jaksel wrote:   Under what circumstances will the loop become endless?   The loop will become endless near the 8-bit rollover value of 255.  Imagine...
Sunday, 13 September 2020 - 17:19
Why it is promoted to int?
Smajdalf wrote: I have a simple function that should wait some number of ticks of Timer/Counter 2 (the target is ATMega48, C++). #define byte uint8_t void blockingDelay(byte...
Sunday, 13 September 2020 - 12:03
SPI slave ISR not being called randomly
digitalDan wrote: shubhampaul wrote: SPI slave ISR not being called randomly   This thread title/topic is quite confusing.  So you're saying that you want the ISR to be...
Thursday, 10 September 2020 - 06:44
ATmega328P Creating delay with timer 0
Sharan_A_P wrote: Why volatile type is only be changed in the timer interrupts? https://www.avrfreaks.net/forum/why-volatile-variable-used-interrupt-service-routine  ...
Friday, 12 June 2020 - 08:58
Multiple servo Atmega328p
I can spot 2 problems with your code: 1) your code directly sets the negative edge of the pulse so the servo control pulses will have a lot of jitter. This will get worse when...
Wednesday, 27 May 2020 - 06:39
twi communication. Please advise where I am wrong.
Did you try the solution mentioned in answer #6?
Friday, 15 May 2020 - 06:17
Sequential/multiple control with push button
This type of question appears here almost every day.   State machines is the answer my friend. They are ridiculously simple to implement yet amazingly powerful.
Friday, 15 May 2020 - 06:05
Add files compile errors
But your first screen shot indicates that you have not defined F_CPU. Did you try that?
Monday, 4 May 2020 - 16:17
Tera Term binary file transfer issue/bug
Yes, RealTerm does work fine. My "perhaps" remark was not referring to uncertainty regarding the binary file transfer capability.    One nice thing regarding Tera...
Wednesday, 29 April 2020 - 10:08
Tera Term binary file transfer issue/bug
docee wrote:...but have yet to find another terminal emulator that will let me send binaries without using any protocols except just sending serial data in uninterrupted fashion...
Wednesday, 29 April 2020 - 04:55
Define a common set of symbols for multiple projects
Well as I already said, I am quite satisfied with GCCs -include option. It does exactly what I want to do i.e. it allows me to define (once) a set of macros/symbols that can be...
Sunday, 12 April 2020 - 11:19

Pages