Hi to everyone,
I am trying to compile a short sketch for atmega328p but the port given by windows changed from the time the file was created.
#include <avr/io.h> #include <util/delay.h> int main(void) { DDRB |= 0B00100000; while (1) { PORTB |= 0B00100000; _delay_ms(1000); PORTB &= 0B11011111; _delay_ms(1000); } }
I cant, dont know, dont find, how to change it. If I change in in Vmicro, the debugger always get me back with the old port and the sketch cant be uploader with bootloader.
Using Port : COM27 Using Programmer : arduino Overriding Baud Rate : 115200 avrdude.exe : ser_open(): can't open device "\\.\COM27": Le fichier spécifié est introuvable.
Regards,
JPDaviau