iam using arduino uno board with arduino ide version 1.8.19
the problem iam facing is that blinking led code is uploading but helloworld code is not uploading it stuck with uploading
Welcome to the forum
Exactly what are you trying to upload ? Please post the sketch here, using < CODE/ > tags when you do
Please post in full any messages printed when you try to upload the sketch
Please show that code
sir the code that i try to upload is same as in example helloworld
how to share that code sir
Arduino: 1.8.19 (Windows 10), Board: "Arduino Uno"
Sketch uses 5618 bytes (17%) of program storage space. Maximum is 32256 bytes.
Global variables use 335 bytes (16%) of dynamic memory, leaving 1713 bytes for local variables. Maximum is 2048 bytes.
An error occurred while uploading the sketch
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
#include <OneWire.h>
#include <DallasTemperature.h>
// Data wire is plugged into pin 2 on the Arduino
#define ONE_WIRE_BUS 2
// Setup a oneWire instance to communicate with any OneWire devices
// (not just Maxim/Dallas temperature ICs)
OneWire oneWire(ONE_WIRE_BUS);
// Pass our oneWire reference to Dallas Temperature.
DallasTemperature sensors(&oneWire);
void setup(void)
{
// start serial port
Serial.begin(9600);
Serial.println("Dallas Temperature IC Control Library Demo");
// Start up the library
sensors.begin();
}
void loop(void)
{
// call sensors.requestTemperatures() to issue a global temperature
// request to all devices on the bus
Serial.print(" Requesting temperatures...");
sensors.requestTemperatures();
Serial.println("DONE");
Serial.print("Temperature is: ");
Serial.print(sensors.getTempCByIndex(0));
delay(1000);
}
Would you mind sharing the error?
Please set this options and show your error message in full
The provided sketch compiles.
Arduino: 1.8.19 (Windows 10), Board: "Arduino Uno"
C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\Srilekha\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\Srilekha\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Srilekha\OneDrive\Documents\Arduino\libraries -fqbn=arduino:avr:uno -vid-pid=1A86_7523 -ide-version=10819 -build-path C:\Users\Srilekha\AppData\Local\Temp\arduino_build_479547 -warnings=none -build-cache C:\Users\Srilekha\AppData\Local\Temp\arduino_cache_963420 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Users\Srilekha\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Users\Srilekha\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.avr-gcc.path=C:\Users\Srilekha\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7 -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=C:\Users\Srilekha\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7 -prefs=runtime.tools.avrdude.path=C:\Users\Srilekha\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Users\Srilekha\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -verbose C:\Users\Srilekha\OneDrive\Documents\Arduino\sensor_with_buzzer\sensor_with_buzzer.ino
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\Srilekha\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\Srilekha\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Srilekha\OneDrive\Documents\Arduino\libraries -fqbn=arduino:avr:uno -vid-pid=1A86_7523 -ide-version=10819 -build-path C:\Users\Srilekha\AppData\Local\Temp\arduino_build_479547 -warnings=none -build-cache C:\Users\Srilekha\AppData\Local\Temp\arduino_cache_963420 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Users\Srilekha\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Users\Srilekha\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.avr-gcc.path=C:\Users\Srilekha\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7 -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=C:\Users\Srilekha\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7 -prefs=runtime.tools.avrdude.path=C:\Users\Srilekha\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Users\Srilekha\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -verbose C:\Users\Srilekha\OneDrive\Documents\Arduino\sensor_with_buzzer\sensor_with_buzzer.ino
Using board 'uno' from platform in folder: C:\Users\Srilekha\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6
Using core 'arduino' from platform in folder: C:\Users\Srilekha\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6
Detecting libraries used...
"C:\Users\Srilekha\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10819 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Users\Srilekha\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino" "-IC:\Users\Srilekha\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\standard" "C:\Users\Srilekha\AppData\Local\Temp\arduino_build_479547\sketch\sensor_with_buzzer.ino.cpp" -o nul
Alternatives for DallasTemperature.h: [Arduino-Temperature-Control-Library-master@3.11.0 DallasTemperature-3.9.0@3.9.0 DallasTemperature@3.9.0]
ResolveLibrary(DallasTemperature.h)
-> candidates: [Arduino-Temperature-Control-Library-master@3.11.0 DallasTemperature-3.9.0@3.9.0 DallasTemperature@3.9.0]
"C:\Users\Srilekha\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10819 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Users\Srilekha\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino" "-IC:\Users\Srilekha\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\standard" "-IC:\Users\Srilekha\OneDrive\Documents\Arduino\libraries\DallasTemperature" "C:\Users\Srilekha\AppData\Local\Temp\arduino_build_479547\sketch\sensor_with_buzzer.ino.cpp" -o nul
Alternatives for OneWire.h: [OneWire@2.3.7 OneWire-master@2.3.7 OneWire-2.3.7@2.3.7]
ResolveLibrary(OneWire.h)
-> candidates: [OneWire@2.3.7 OneWire-master@2.3.7 OneWire-2.3.7@2.3.7]
"C:\Users\Srilekha\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10819 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Users\Srilekha\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino" "-IC:\Users\Srilekha\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\standard" "-IC:\Users\Srilekha\OneDrive\Documents\Arduino\libraries\DallasTemperature" "-IC:\Users\Srilekha\OneDrive\Documents\Arduino\libraries\OneWire" "C:\Users\Srilekha\AppData\Local\Temp\arduino_build_479547\sketch\sensor_with_buzzer.ino.cpp" -o nul
Alternatives for LiquidCrystal.h: [LiquidCrystal-master@1.0.7 LiquidCrystal@1.0.7 LiquidCrystal@1.0.7 LiquidCrystal-1.0.7@1.0.7]
ResolveLibrary(LiquidCrystal.h)
-> candidates: [LiquidCrystal-master@1.0.7 LiquidCrystal@1.0.7 LiquidCrystal@1.0.7 LiquidCrystal-1.0.7@1.0.7]
"C:\Users\Srilekha\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10819 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Users\Srilekha\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino" "-IC:\Users\Srilekha\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\standard" "-IC:\Users\Srilekha\OneDrive\Documents\Arduino\libraries\DallasTemperature" "-IC:\Users\Srilekha\OneDrive\Documents\Arduino\libraries\OneWire" "-IC:\Users\Srilekha\OneDrive\Documents\Arduino\libraries\LiquidCrystal\src" "C:\Users\Srilekha\AppData\Local\Temp\arduino_build_479547\sketch\sensor_with_buzzer.ino.cpp" -o nul
Using cached library dependencies for file: C:\Users\Srilekha\OneDrive\Documents\Arduino\libraries\DallasTemperature\DallasTemperature.cpp
Using cached library dependencies for file: C:\Users\Srilekha\OneDrive\Documents\Arduino\libraries\OneWire\OneWire.cpp
Using cached library dependencies for file: C:\Users\Srilekha\OneDrive\Documents\Arduino\libraries\LiquidCrystal\src\LiquidCrystal.cpp
Generating function prototypes...
"C:\Users\Srilekha\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10819 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Users\Srilekha\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino" "-IC:\Users\Srilekha\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\standard" "-IC:\Users\Srilekha\OneDrive\Documents\Arduino\libraries\DallasTemperature" "-IC:\Users\Srilekha\OneDrive\Documents\Arduino\libraries\OneWire" "-IC:\Users\Srilekha\OneDrive\Documents\Arduino\libraries\LiquidCrystal\src" "C:\Users\Srilekha\AppData\Local\Temp\arduino_build_479547\sketch\sensor_with_buzzer.ino.cpp" -o "C:\Users\Srilekha\AppData\Local\Temp\arduino_build_479547\preproc\ctags_target_for_gcc_minus_e.cpp"
"C:\Program Files (x86)\Arduino\tools-builder\ctags\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\Users\Srilekha\AppData\Local\Temp\arduino_build_479547\preproc\ctags_target_for_gcc_minus_e.cpp"
Compiling sketch...
"C:\Users\Srilekha\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10819 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Users\Srilekha\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino" "-IC:\Users\Srilekha\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\standard" "-IC:\Users\Srilekha\OneDrive\Documents\Arduino\libraries\DallasTemperature" "-IC:\Users\Srilekha\OneDrive\Documents\Arduino\libraries\OneWire" "-IC:\Users\Srilekha\OneDrive\Documents\Arduino\libraries\LiquidCrystal\src" "C:\Users\Srilekha\AppData\Local\Temp\arduino_build_479547\sketch\sensor_with_buzzer.ino.cpp" -o "C:\Users\Srilekha\AppData\Local\Temp\arduino_build_479547\sketch\sensor_with_buzzer.ino.cpp.o"
Compiling libraries...
Compiling library "DallasTemperature"
Using previously compiled file: C:\Users\Srilekha\AppData\Local\Temp\arduino_build_479547\libraries\DallasTemperature\DallasTemperature.cpp.o
Compiling library "OneWire"
Using previously compiled file: C:\Users\Srilekha\AppData\Local\Temp\arduino_build_479547\libraries\OneWire\OneWire.cpp.o
Compiling library "LiquidCrystal"
Using previously compiled file: C:\Users\Srilekha\AppData\Local\Temp\arduino_build_479547\libraries\LiquidCrystal\LiquidCrystal.cpp.o
Compiling core...
Using precompiled core: C:\Users\Srilekha\AppData\Local\Temp\arduino_cache_963420\core\core_arduino_avr_uno_9861326e23546a3e7e8aeb3ca2e5e2f6.a
Linking everything together...
"C:\Users\Srilekha\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc" -w -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections -mmcu=atmega328p -o "C:\Users\Srilekha\AppData\Local\Temp\arduino_build_479547/sensor_with_buzzer.ino.elf" "C:\Users\Srilekha\AppData\Local\Temp\arduino_build_479547\sketch\sensor_with_buzzer.ino.cpp.o" "C:\Users\Srilekha\AppData\Local\Temp\arduino_build_479547\libraries\DallasTemperature\DallasTemperature.cpp.o" "C:\Users\Srilekha\AppData\Local\Temp\arduino_build_479547\libraries\OneWire\OneWire.cpp.o" "C:\Users\Srilekha\AppData\Local\Temp\arduino_build_479547\libraries\LiquidCrystal\LiquidCrystal.cpp.o" "C:\Users\Srilekha\AppData\Local\Temp\arduino_build_479547/..\arduino_cache_963420\core\core_arduino_avr_uno_9861326e23546a3e7e8aeb3ca2e5e2f6.a" "-LC:\Users\Srilekha\AppData\Local\Temp\arduino_build_479547" -lm
"C:\Users\Srilekha\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-objcopy" -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 "C:\Users\Srilekha\AppData\Local\Temp\arduino_build_479547/sensor_with_buzzer.ino.elf" "C:\Users\Srilekha\AppData\Local\Temp\arduino_build_479547/sensor_with_buzzer.ino.eep"
"C:\Users\Srilekha\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-objcopy" -O ihex -R .eeprom "C:\Users\Srilekha\AppData\Local\Temp\arduino_build_479547/sensor_with_buzzer.ino.elf" "C:\Users\Srilekha\AppData\Local\Temp\arduino_build_479547/sensor_with_buzzer.ino.hex"
Multiple libraries were found for "OneWire.h"
Used: C:\Users\Srilekha\OneDrive\Documents\Arduino\libraries\OneWire
Not used: C:\Users\Srilekha\OneDrive\Documents\Arduino\libraries\OneWire-master
Not used: C:\Users\Srilekha\OneDrive\Documents\Arduino\libraries\OneWire-2.3.7
Multiple libraries were found for "LiquidCrystal.h"
Used: C:\Users\Srilekha\OneDrive\Documents\Arduino\libraries\LiquidCrystal
Not used: C:\Users\Srilekha\OneDrive\Documents\Arduino\libraries\LiquidCrystal-master
Not used: C:\Program Files (x86)\Arduino\libraries\LiquidCrystal
Not used: C:\Users\Srilekha\OneDrive\Documents\Arduino\libraries\LiquidCrystal-1.0.7
Multiple libraries were found for "DallasTemperature.h"
Used: C:\Users\Srilekha\OneDrive\Documents\Arduino\libraries\DallasTemperature
Not used: C:\Users\Srilekha\OneDrive\Documents\Arduino\libraries\Arduino-Temperature-Control-Library-master
Not used: C:\Users\Srilekha\OneDrive\Documents\Arduino\libraries\DallasTemperature-3.9.0
Using library DallasTemperature at version 3.9.0 in folder: C:\Users\Srilekha\OneDrive\Documents\Arduino\libraries\DallasTemperature
Using library OneWire at version 2.3.7 in folder: C:\Users\Srilekha\OneDrive\Documents\Arduino\libraries\OneWire
Using library LiquidCrystal at version 1.0.7 in folder: C:\Users\Srilekha\OneDrive\Documents\Arduino\libraries\LiquidCrystal
"C:\Users\Srilekha\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-size" -A "C:\Users\Srilekha\AppData\Local\Temp\arduino_build_479547/sensor_with_buzzer.ino.elf"
Sketch uses 5490 bytes (17%) of program storage space. Maximum is 32256 bytes.
Global variables use 114 bytes (5%) of dynamic memory, leaving 1934 bytes for local variables. Maximum is 2048 bytes.
C:\Users\Srilekha\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/bin/avrdude -CC:\Users\Srilekha\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf -v -patmega328p -carduino -PCOM6 -b115200 -D -Uflash:w:C:\Users\Srilekha\AppData\Local\Temp\arduino_build_479547/sensor_with_buzzer.ino.hex:i
An error occurred while uploading the sketch
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\Srilekha\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf"
Using Port : COM6
Using Programmer : arduino
Overriding Baud Rate : 115200
AVR Part : ATmega328P
Chip Erase delay : 9000 us
PAGEL : PD7
BS2 : PC2
RESET disposition : dedicated
RETRY pulse : SCK
serial program mode : yes
parallel program mode : yes
Timeout : 200
StabDelay : 100
CmdexeDelay : 25
SyncLoops : 32
ByteDelay : 0
PollIndex : 3
PollValue : 0x53
Memory Detail :
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
eeprom 65 20 4 0 no 1024 4 0 3600 3600 0xff 0xff
flash 65 6 128 0 yes 32768 128 256 4500 4500 0xff 0xff
lfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
efuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
lock 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
Programmer Type : Arduino
Description : Arduino
Hardware Version: 3
Firmware Version: 4.4
Vtarget : 0.3 V
Varef : 0.3 V
Oscillator : 28.800 kHz
SCK period : 3.3 us
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.00s
avrdude: Device signature = 0x1e950f (probably m328p)
avrdude: reading input file "C:\Users\Srilekha\AppData\Local\Temp\arduino_build_479547/sensor_with_buzzer.ino.hex"
avrdude: writing flash (5490 bytes):
Writing | #####
avrdude: stk500_paged_write(): (a) protocol error, expect=0x14, resp=0x10
`#include<DallasTemperature.h>
#include<OneWire.h>
#include<LiquidCrystal.h>
#define ONE_WIRE_BUS 6
OneWire oneWire(ONE_WIRE_BUS);
DallasTemperature sensors(&oneWire);
const int rs = 12, en = 11, d4 = 5, d5 = 4, d6 = 3, d7 = 2;
LiquidCrystal lcd(rs, en, d4, d5, d6, d7);
const int buzzerpin=8;
float TargetTemperature=37;
float lowtemperature=32;
void setup() {
// put your setup code here, to run once:
pinMode(buzzerpin,OUTPUT);
lcd.begin(16,2);
sensors.begin();
lcd.setCursor(0,0);
lcd.print("Temperature");
}
void loop() {
// put your main code here, to run repeatedly:
lcd.setCursor(0,1);
sensors.requestTemperatures();
lcd.print(sensors.getTempCByIndex(0));
lcd.print("C");
if(sensors.getTempCByIndex(0)>=TargetTemperature)
{digitalWrite(buzzerpin,HIGH);
}
if(sensors.getTempCByIndex(0)<= lowtemperature)
{digitalWrite(buzzerpin,LOW);}
}
`
Error writing the flash.... not good.
Try to change cable and port, than try on another PC.
If nothing will helps, it means that your Uno probably damaged
Sir ,if arduino uno is damaged then , other code also should not upload . but led blinking (example) is uploading sir
The error is occurred in defined plase of the flash. Led blink example is shorter than you new code and uploaded in flash before error
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.