Type in the full discussion title or a part of it.
Discussion Title Created date
PCINT - ask for help!
I want to toggle a led on ATmega328p by button through PCINT, my code: // A program for LED Toggle by Push-button and PCINT on ATmega328p /* * LED toggle by button * LED - 1....
Monday, 1 August 2022 - 09:43
How to install avr-libc on Windows 10 for MinGW?
I have installed MinGW on Windows 10, and installed and verified installation of GCC, avr-gcc and make in Windows PowerShell ISE, but I couldn't find the way to install avr-libc,...
Tuesday, 12 July 2022 - 09:05
Servo code didn't work...
I attached 2 servos on D9 and D10 of Arduino UNO, the servo example of Servo library works, but my code didn't, could anyone here tell why?   void setup() { // put your...
Thursday, 25 November 2021 - 14:13
USB couldn't be found in ATmega32u4
I have uploaded Caterina.hex into ATmega32U4 by USBasp, but couldn't found the USB port in Arduino IDE, so I couldn't upload sketch into it, what maybe the reason?   The...
Thursday, 13 May 2021 - 10:03
I wrote ASM code
I wrote an asm code for testing on ATmega32u4: ; ; test_ATmega32u4.asm ; ; Created: 2021/5/12 16:03:02 ; Author : MQ ; ; .NOLIST ; Output to list file off .INCLUDE "m32u4def.inc...
Wednesday, 12 May 2021 - 10:46
How about PROGISP programmer?
Has anyone know this programmer software:   I used it with this programmer hardware:   It was prompted: "programmer cannot be found." What maybe the reason?
Thursday, 29 April 2021 - 05:25
How to add XTAL for this chip?
I want to programing this ATmage32u4:   but I found there was only pin16(XTAL1) been extended as DIP pin, I found a photo here - https://circuitdigest.com/microc......
Thursday, 22 April 2021 - 11:25
Which pin is which?
I tested this example - "Buck Converter Controller - Closed Loop Voltage Control" of Microchip Studio on AVR128DB48 Curiosity Nano, it was said in "main.c":   /*  ...
Monday, 19 April 2021 - 00:21
Atmel ICE "Read voltage -5.0v"
I used Atmel ICE on Ubuntu 20.04 with make and avrdude, then when I used it in Microchip Studio 7 on Windows 10, it couldn't be attached, when I altered to Atmel Studio 7 on...
Thursday, 8 April 2021 - 13:28
File parsing error: Invalid grid index. Line 1.
I tried this example "Voltage Follower" in Microchip Studio (then Atmel Studio) on board AVR128DB48, it was said:  Open the MPLAB Data Visualizer and load the work space...
Monday, 5 April 2021 - 01:47
What's the defference between these 2 codes?
Wakeup: sleep ; send to sleep nop ; after wakeup rjmp Wakeup and Wakeup: sleep ; send to sleep rjmp Wakeup I mean, when the MCU woke up for some reason, where would the...
Monday, 1 February 2021 - 03:25
How to make a script for AVR programming on Ubuntu?
I found a script like this: avr-gcc -g -Os -mmcu=“microcontroller” -c “filename”.c<br>avr-gcc -g -mmcu=“microcontroller” -o “filename”.elf “filename”.o<br>avr-objcopy...
Thursday, 28 January 2021 - 01:15

Pages