I have a bit of code written by someone else that I'm trying to understand. I'm familiar with c enough to make basic/intermediate functions, but never really le
I have been working on a simple project on AVR microcontroller atmega16 on proteus simulation. The project is: When I push the push button it increments the sev
int main(void) { DDRC = DDRC | (1<<2); DDRC = DDRC | (1<<3); while (1) { //openSolenoidValves(100,60); //startStep
I am working on a project where I read out an MCP3008 ADC and an MCP4901 DAC. Both use SPI to communicate with the arduino. For a few seconds everything is fine
I would like to learn how interrupt works with AVR. I have built up a simple button and LED circuit. It works with the interrupt Arduino library, but does not w
I am learning to program my ATtiny85 without a bootloader using a MiniPro, and I want to generate a hex file. First I try to compile my file using the avr-gcc c
I have got a little problem of understanding how is suppose to work. Basically all what I need is to light up a led on each side of 7 segment display. They over
I want to receive a string(pointer to characters) by UART using ATMEGA16. I burned this code on the kit then I used hyperterminal (realterm) and made a test to
I configure the ICP1 to get the pulses but when it happens, the avr is resetting, sometimes when the uart iterrput occurs it also reset. I don't know where I'm