Type in the full discussion title or a part of it.
Discussion Title Created date
UART Commands for MFRC-522
Hello, I got RC522 RFID reader from Ebay. Before I write any C code in Atmega328 (UART interface), I thought of communicating with it from my terminal software (I have USB to...
Monday, 15 February 2016 - 15:16
MCP23017 I/O port status read issues
I interfaced MCP23017 to AVR328P. But in the attached code in main.c, GPB2 is pulsing. I expect it to be low always. That means if I read the current GPB status and and use &...
Wednesday, 27 January 2016 - 10:18
4x4 Keypad Code
I have written code for 4x4 keypad. Attached is the zip file with complete project solution. I just have one doubt about the correctness of the code getKeyStatus() function....
Tuesday, 26 January 2016 - 13:28
UDR Flushing on read
I had written ISR for USART receive. I was not very sure if readng UDR empties the contents. In atmel manual I could not find exact behavior when I looked briefly in couple of...
Friday, 22 January 2016 - 15:53
LED lights up without configuring I/O port as output
I wrote below code and I was surprised to see LED turning ON/OFF with good brightness. Basically I had typo in port initialization and it should have been DDRB. By not configuring...
Tuesday, 12 January 2016 - 15:24
unable to navigate to declarations of avr core header files in codeblocks
I have successfully setup codeblocks for avr. I am able to build and run the projects. But the problem I have is I can not right click on a variable (Ex: DDRB) and find its...
Sunday, 10 January 2016 - 03:39
Max frequency we can get in 328P I/O pin
I just wanted to get around 5MHz pulse in Uno board (Any pin). I wrote the following program using Atmel Studio 7 in main (Without any other programs or initialization). But the...
Saturday, 2 January 2016 - 07:36
Getting Linker Error even though .o file is present
Today I created a project with basic minimum files of arduino core for arduino nano board. I just want to create a project with few arduino files, but without core.a library from...
Friday, 1 January 2016 - 06:56
Atmel Studio 7.0 bug
I installed Atmel Studio 7.0 today. I added external tool with following: Exe file: C:\Atmega\programmers\avrdude\avrdude.exe Arguments: -C"C:\Atmega\programmers\avrdude\avrdude....
Monday, 14 December 2015 - 13:25
presence of both main() and loop()
Hello, I accidentally retained main() function in my code in Atmel studio7.  I added arduino library to the studio and library is getting called correctly. The main()...
Monday, 14 December 2015 - 13:14
compiling Arduino files in Atmel studio
I have atmel studio 6.2. I wanted to compile arduino core files without making use of arduino IDE/visual micro plugins within atmel studio. But I get following few error messages...
Tuesday, 17 November 2015 - 13:31
Code for building I2C LCD using AVR Controller
Hello, For one of my projects, I need to go for serial LCD. But since serial LCD is comparatively expensive, I am exploring the possibility of using ATTiny24A and interfacing it...
Friday, 13 November 2015 - 14:42

Pages