Post Created date
Light source used in Disco Lights
Just hobby project for kids. I think I will use 220E resistor. Assuming forward voltage drop of 1V (I guess it will be more than that), max current will be 18mA, which is within...
Sunday, 31 October 2021 - 16:34
[TUT] [IDE] Using NetBeans for AVR development
Hello, I get the error message no compiler collections were found when I select C:\Atmega\avr8-gnu-toolchain\bin under  Options > C/C++ > Build Tools > Add... I...
Saturday, 2 October 2021 - 01:21
Basic UART question
Typically when we transmitting integers, MSB byte transferred first or LSB byte first? Any standard or is this depends on the receiver side?
Wednesday, 22 September 2021 - 04:06
Code blocks: undefined reference to __mulhi3
#10 seems to addressing my issue. I hope it does not break some other project. Thanks for your help. I had looked at above comments. But in code blocks, there are two places...
Sunday, 19 September 2021 - 16:59
Code blocks: undefined reference to __mulhi3
I am using avr8-gnu-toolchain and not winavr. I have this issue. -------------- Build: Debug in CL_USART (compiler: GNU GCC Compiler for AVR)--------------- avr-gcc.exe -Wall -...
Sunday, 19 September 2021 - 09:58
Copying Lower data type to higher data type
Never use signed when unsigned will do. I agree. Lot of string functions make use of 'char' types. char is implementation defined. How do we handle this? Let us say I have...
Saturday, 18 September 2021 - 01:40
Copying Lower data type to higher data type
Thanks for your nice explanation. "Learn from mistake" is what I did today. I was really not aware of this sign extension and could understand this good concept.
Thursday, 16 September 2021 - 17:07
Copying Lower data type to higher data type
Oh! I thought it is some silly mistake!! Thanks for your help  
Thursday, 16 September 2021 - 05:53
Copying Lower data type to higher data type
My expectation was 55 AA 00 00. from where this FF FF is getting introduced?
Thursday, 16 September 2021 - 04:23
Comparing piece of code with and without if statement
OK got it. If currentState is initialized to 0, both code results in same size. Otherwise anyway currentState is undefined. 
Monday, 13 September 2021 - 08:38
PCIFR update is not immediate in Atmega328P
Thanks all for giving good info. We need smart compilers in this hi-tech era, wherein compiler takes care of such important issues by warning the programmer and if opted,...
Thursday, 3 June 2021 - 15:40
PCIFR update is not immediate in Atmega328P
Thank you David for working on it. But I may not be able to conclude since I am at level 0 in uC programming. Do I need to wait in while loop until PCIF0 in PCIFR is set before...
Thursday, 3 June 2021 - 14:32

Pages