I recently installed from zip version 2.3 .
All worked well to start with but …
In properties I set the sketch location to that of my old sketch folder , which also has a sub library folder .
But .. I have to reinstall the libraries when needed. Odd as when updating libraries it seems to find the right folder !
Anyway I put up with that , but it now will not upload consistently ; it finds the com port , then after compiling says the port is not available . It sometimes does this when compiling starts .
If I reboot the PC it has no effect.
1.8.9 is working fine .
Am I doing something wrong ?
Is the CH340 driver issue , or has that been fixed ???
Please disable verbose output during compilation and enable verbose output during upload, perform an upload and post the results of a failed upload here.
Meanwhile problems were mainly on stand alone 328 chips used via a
FTDI /USB adapter which operated correctly under ver 1.8.
The 2.3 IDE would find the board ( I was using “UNO” settings after uploading the correct bootloader using ISPtiny ).
But then not be able to open it for upload.
All fine when using 1.8.9
As I said , I’ll fill in the details you mention , pos not today tho !
Thanks .
C:\Arduino projects\model_t_pulse_speedo_v0.1\Display.ino: In function 'void Display(byte)':
C:\Arduino projects\model_t_pulse_speedo_v0.1\Display.ino:5:7: warning: unused variable 'distance' [-Wunused-variable]
int distance;
^~~~~~~~
C:\Arduino projects\model_t_pulse_speedo_v0.1\Temp_Calc.ino: In function 'void GetTemperature()':
C:\Arduino projects\model_t_pulse_speedo_v0.1\Temp_Calc.ino:10:7: warning: unused variable 'resolution' [-Wunused-variable]
int resolution = 9; //9==0.5C
^~~~~~~~~~
C:\Arduino projects\model_t_pulse_speedo_v0.1\distance_speed.ino: In function 'void Speed_calc()':
C:\Arduino projects\model_t_pulse_speedo_v0.1\distance_speed.ino:18:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if ((millis() - Startmillis) >= CalcFrequency) // calc speed
~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
C:\Users\house\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino\main.cpp: In function 'main':
C:\Arduino projects\model_t_pulse_speedo_v0.1\distance_speed.ino:38:18: warning: 'milesperHour' may be used uninitialized in this function [-Wmaybe-uninitialized]
SpeedSteps = (int) milesperHour * Scale_factor;
^
C:\Arduino projects\model_t_pulse_speedo_v0.1\distance_speed.ino:10:9: note: 'milesperHour' was declared here
float milesperHour;
^
Sketch uses 20878 bytes (64%) of program storage space. Maximum is 32256 bytes.
Global variables use 594 bytes (29%) of dynamic memory, leaving 1454 bytes for local variables. Maximum is 2048 bytes.
"C:\Users\house\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/bin/avrdude" "-CC:\Users\house\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf" -v -patmega328p -carduino "-PCOM8" -b115200 -D "-Uflash:w:C:\Users\house\AppData\Local\Temp\arduino\sketches\F66B714E6107AA938671ADF8330C5EE2/model_t_pulse_speedo_v0.1.ino.hex:i"
avrdude: Version 6.3-20190619
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "C:\Users\house\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf"
Using Port : COM8
Using Programmer : arduino
Overriding Baud Rate : 115200
avrdude: ser_open(): can't open device "\\.\COM8": Access is denied.
avrdude done. Thank you.
Failed uploading: uploading error: exit status 1
I seems to be code related, as 2.3 will still upload a blank sketch .