Type in the full discussion title or a part of it.
Discussion Title Created date
Generic read switch function based on Active High/Low configuration
Sorry, this could be a silly question in this forum. But not able to find easy method. I would like to configure my switch input type as either active high or active low. I need a...
Sun. Feb 18, 2018 - 11:36 AM
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...
Thu. Feb 15, 2018 - 06:21 AM
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...
Tue. Jan 9, 2018 - 07:03 AM
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...
Thu. Dec 28, 2017 - 04:38 PM
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...
Tue. Dec 26, 2017 - 05:02 PM
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...
Tue. Dec 19, 2017 - 02:40 AM
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...
Thu. Oct 26, 2017 - 03:38 PM
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...
Thu. Oct 5, 2017 - 09:53 AM
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...
Mon. Sep 25, 2017 - 03:28 PM
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...
Wed. Sep 13, 2017 - 12:11 PM
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...
Thu. Jul 20, 2017 - 05:56 PM
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...
Tue. Jul 18, 2017 - 05:46 AM

Pages