Post Created date
"ADC + Timer1" on ATmega328p ask for help!
N.Winterbottom wrote:   Configure the ADC in Free Running Mode.     I used Free Running Mode at the first, I found the serial port was blocked - each time after...
Thursday, 22 September 2022 - 00:02
"ADC + Timer1" on ATmega328p ask for help!
Thanks you two, and I found there is also one "ADCSRA |= (1<<ADEN);" lacked inside "readADC()", now these works: /* * testAVR-libcATmega328pBlink.c * */ /* * The...
Tuesday, 20 September 2022 - 23:31
PCINT - ask for help!
I tested, PINB = (1 << PINB0);works, and: ISR(PCINT2_vect) { uint8_t rising = PIND & (1 << 7); if (rising) PORTB ^= (1 << 0); }would get the...
Wednesday, 3 August 2022 - 06:28
PCINT - ask for help!
clawson wrote: pinb = PINB; PORTB = PINB ^ pinb;What are you trying to achieve here ?     I want the bit position I want to toggle XOR with itself, thus get a...
Monday, 1 August 2022 - 10:14
How to install avr-libc on Windows 10 for MinGW?
I found them here - C:\Program Files\avr-gcc-12.1.0-x86-windows, thanks.
Tuesday, 19 July 2022 - 03:42
Atmel ICE with AVRDUDE, cannot find device.
I want to set the fuse bits first, and after I run as it was told, the ICE still couldn't be found in Device Manager, so how to write in the P argument of this instruct: avrdude...
Tuesday, 19 July 2022 - 00:41
How to install avr-libc on Windows 10 for MinGW?
I haven't found any file about avr-libc under this folder: C:\...\avr8-gnu-toolchain-win32_x86_64\bin
Monday, 18 July 2022 - 03:59
How to install avr-libc on Windows 10 for MinGW?
I downloaded it, but it didn't work well.
Friday, 15 July 2022 - 09:36
How to install avr-libc on Windows 10 for MinGW?
I tried the 32-bit edition, it seems works.
Friday, 15 July 2022 - 09:34
How to install avr-libc on Windows 10 for MinGW?
I read the old one, it just hasn't item for avr-libc.
Wednesday, 13 July 2022 - 01:32
How to install avr-libc on Windows 10 for MinGW?
I haven't so much disk for studio on this machine, so I want to use CLI tools.   I tried to install Simulavr as it was said in this page - https://ccrma.stanford.edu/cours...
Tuesday, 12 July 2022 - 10:15
Servo code didn't work...
david.prentice wrote:use interrupts in busy applications. OK, I will try interrupt in this project, and I would ask you for break through when I met blocks.
Tuesday, 7 December 2021 - 03:08

Pages