Type in the full discussion title or a part of it.
Discussion Title Created date
code size of single liner set/reset bits operation is more than the separate set/reset operations
In the two operations below, I observed that the code size of single line operation on setting and clearing bits on DDRB is more than the operation made in two lines. I could not...
Thursday, 15 February 2018 - 06:21
Structure parameter getting corrupted
I have around 21KB code running on Atmega328P (Ebay CH340 based Nano board) compiled using Atmel's avr8-gnu-toolchain. Today I noticed some strange problem. I have the below...
Tuesday, 9 January 2018 - 07:03
What is the behavior if ISR is not written
Assume that the condition is satisfied for an interrupt to occur and interrupt is enabled along with I bit. What will happen if ISR is not written? Is the behavior is undefined or...
Thursday, 28 December 2017 - 16:38
Tx pin of Arduino Nano Ch340 version powering other board
I had just connected Tx pin of nano board A  to Rx pin of nano board B. To my surprise, board B was powered and it was fully operational when I connected Gnd. Not sure how...
Tuesday, 26 December 2017 - 17:02
Data Truncation/Conversion Issues
I know this is going to be a silly question here. But for some reason I am stuck and unable to proceed. In the code below, I am unable to set PWM based on the data sent from...
Tuesday, 19 December 2017 - 02:40
Issues in driving servo through ULN2003A
I was driving SG90 servo motor directly from Arduino Nano board and had some issues of LCD flicker. So I thought it could be due to max current issues and changed the circuit to...
Thursday, 26 October 2017 - 15:38
Slave extending SCL Low
I was looking at the datasheet of Atmega328P. According to section 22.3.5  22.3.5 Combining Address and Data Packets into a Transmission A transmission basically consists of...
Thursday, 5 October 2017 - 09:53
PWM on OC0B in Timer0 CTC Mode
In below code, I am trying to generate PWM on OC0B pin (PD5) in timer0 CTC mode. I am getting only high output. Unable to makeout the problem. I am using COMP_A ISR to clear the...
Monday, 25 September 2017 - 15:28
Extra INT0 interrupt is counted
I wrote below code for testing the external interrupt. But first data transmitted on serial port is 5 and subsequently 4 are getting added correctly. However if I clear the...
Wednesday, 13 September 2017 - 12:11
Checking UDRIE bit for transmission complete status
I have written simple serial communication protocol code. Before attempting to get response from target, I am waiting for the transmission to complete. I wrote two approaches for...
Thursday, 20 July 2017 - 17:56
v-USB with Arduino Nano Board
I wanted to to load V-USB boot loader to my arduino nano board. So downloaded the files from https://www.obdev.at/products/vu... and made changes. The problem I am facing is: I...
Tuesday, 18 July 2017 - 05:46
Unable to find make.exe avr8 tool chain
I use avr8-gnu-toolchain. I am unable to find make.exe file. Which is the equivalent of it? I looked in bin folder, but did not see anything.  http://www.nongnu.org/avr-...
Saturday, 15 July 2017 - 16:17

Pages