Type in the full discussion title or a part of it.
Discussion Title Created date
Serial Communication receive issue
In the enclosed code below, in function defaultStateTest(), if I use serialTestWithStatus() function, terminal software is not echoing all the data . Some characters are...
Friday, 13 November 2015 - 09:54
Programming Arduino Nano with avrdude
I purchased arduino nano 3.0. If I am not mistaken, it comes with the bootloader so that I can use USB-Serial port to program it. The board is detected correctly as USB-Serial...
Monday, 2 November 2015 - 06:25
Blinking seven segments using shift operation
I wrote a program to blink segments of 7 segment display one after the other starting from a. Segments are all connected to PORTD. But the below code is running only once even...
Saturday, 3 October 2015 - 01:21
Giving fully qualified path in avrdude
I thought of using fully qualified absolute path name in avrdude command line arguments. I want to program the controller from command prompt. But I am getting error "Invalid File...
Wednesday, 23 September 2015 - 03:33
Interfacing Issues with MCP4911 10 bit DAC
I wrote code for interfacing MCP4911 to Atmega 328P in Atmel studio. But I am not getting DA output. There seems to be a small issue somewhere. Anyone could help? I am calling...
Sunday, 20 September 2015 - 07:49
Delay using timer
I wrote function for delay using timer0 in Atmega328P. But sometimes the period in the below example is around 700 msec (as seen on PB1). In most cases it is 996 msec (and not...
Sunday, 13 September 2015 - 15:01
TWBR value in two wire interface
According to the Atmega328 datasheet, TWBR value for two wire interface is calculated using the formula TWBR = ((F_CPU/F_SCL)-16)/(2*prescaler) In some code examples I saw that 1...
Saturday, 12 September 2015 - 11:02
Duty Cycle adjustment Fast PWM Mode
*Moved because it is not discussing any of the completed projects. Moderator*   As per the datasheet of Atmega328, Timer0 fast PWM mode can be selected by setting...
Saturday, 5 September 2015 - 04:07
Code Block Error Message during Programming
I am setting up codeblock for AVR. I could compile and build. I see lot of stderr messages while burning using avrdude. What could be the reason? The program gets written...
Friday, 14 August 2015 - 16:44