Executingc command: exit status 1

Here’s my cod:

include <Wire.h>
#include "MAX30100_PulseOximeter.h"
 
#include "Wire.h"
#include "Adafruit_GFX.h"
#include "OakOLED.h"
#define REPORTING_PERIOD_MS 1000
OakOLED oled;
 
PulseOximeter pox;
 
uint32_t tsLastReport = 0;
 
const unsigned char bitmap [] PROGMEM=
{
0x00, 0x00, 0x00, 0x00, 0x01, 0x80, 0x18, 0x00, 0x0f, 0xe0, 0x7f, 0x00, 0x3f, 0xf9, 0xff, 0xc0,
0x7f, 0xf9, 0xff, 0xc0, 0x7f, 0xff, 0xff, 0xe0, 0x7f, 0xff, 0xff, 0xe0, 0xff, 0xff, 0xff, 0xf0,
0xff, 0xf7, 0xff, 0xf0, 0xff, 0xe7, 0xff, 0xf0, 0xff, 0xe7, 0xff, 0xf0, 0x7f, 0xdb, 0xff, 0xe0,
0x7f, 0x9b, 0xff, 0xe0, 0x00, 0x3b, 0xc0, 0x00, 0x3f, 0xf9, 0x9f, 0xc0, 0x3f, 0xfd, 0xbf, 0xc0,
0x1f, 0xfd, 0xbf, 0x80, 0x0f, 0xfd, 0x7f, 0x00, 0x07, 0xfe, 0x7e, 0x00, 0x03, 0xfe, 0xfc, 0x00,
0x01, 0xff, 0xf8, 0x00, 0x00, 0xff, 0xf0, 0x00, 0x00, 0x7f, 0xe0, 0x00, 0x00, 0x3f, 0xc0, 0x00,
0x00, 0x0f, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
};
 
void onBeatDetected()
{
Serial.println("Beat!");
oled.drawBitmap( 60, 20, bitmap, 28, 28, 1);
oled.display();
}
 
void setup()
{
Serial.begin(9600);
 
oled.begin();
oled.clearDisplay();
oled.setTextSize(1);
oled.setTextColor(1);
oled.setCursor(0, 0);
 
oled.println("Initializing pulse oximeter..");
oled.display();
Serial.print("Initializing pulse oximeter..");
 
if (!pox.begin()) {
Serial.println("FAILED");
oled.clearDisplay();
oled.setTextSize(1);
oled.setTextColor(1);
oled.setCursor(0, 0);
oled.println("FAILED");
oled.display();
for(;;);
} else {
oled.clearDisplay();
oled.setTextSize(1);
oled.setTextColor(1);
oled.setCursor(0, 0);
oled.println("SUCCESS");
oled.display();
Serial.println("SUCCESS");
}
pox.setOnBeatDetectedCallback(onBeatDetected);
}
 
void loop()
{
pox.update();
 
if (millis() - tsLastReport > REPORTING_PERIOD_MS) {
Serial.print("Heart BPM:");
Serial.print(pox.getHeartRate());
Serial.print("-----");
Serial.print("Oxygen Percent:");
Serial.print(pox.getSpO2());
Serial.println("\n");
oled.clearDisplay();
oled.setTextSize(1);
oled.setTextColor(1);
oled.setCursor(0,16);
oled.println(pox.getHeartRate());
 
oled.setTextSize(1);
oled.setTextColor(1);
oled.setCursor(0, 0);
oled.println("Heart BPM");
 
oled.setTextSize(1);
oled.setTextColor(1);
oled.setCursor(0, 30);
oled.println("Spo2");
 
oled.setTextSize(1);
oled.setTextColor(1);
oled.setCursor(0,45);
oled.println(pox.getSpO2());
oled.display();
tsLastReport = millis();
}
}

include <Wire.h>? Are you missing a #?

Please post the full error message.

Thanks for using code tags in your first post :+1:

Your topic does not seem to be related to problems with the IDE and has been moved to a more suitable location on the forum.

Welcome to the forum

Which Arduino board are you using ?

If you got an error when compiling the code please copy the full error message using the "COPY ERROR MESSAGE" button in the IDE and paste it here in code tags

If you did not get an error then do you have a question ? What is the sketch meant to do and where did you get it from ?

I got it from here: مشروع:جهاز مراقبة الأوكسجين في الدم ومعدل ضربات القلب مع MAX30100 و Arduino
Full code

#include <Wire.h>
#include "MAX30100_PulseOximeter.h"
 
#include "Wire.h"
#include "Adafruit_GFX.h"
#include "OakOLED.h"
#define REPORTING_PERIOD_MS 1000
OakOLED oled;
 
PulseOximeter pox;
 
uint32_t tsLastReport = 0;
 
const unsigned char bitmap [] PROGMEM=
{
0x00, 0x00, 0x00, 0x00, 0x01, 0x80, 0x18, 0x00, 0x0f, 0xe0, 0x7f, 0x00, 0x3f, 0xf9, 0xff, 0xc0,
0x7f, 0xf9, 0xff, 0xc0, 0x7f, 0xff, 0xff, 0xe0, 0x7f, 0xff, 0xff, 0xe0, 0xff, 0xff, 0xff, 0xf0,
0xff, 0xf7, 0xff, 0xf0, 0xff, 0xe7, 0xff, 0xf0, 0xff, 0xe7, 0xff, 0xf0, 0x7f, 0xdb, 0xff, 0xe0,
0x7f, 0x9b, 0xff, 0xe0, 0x00, 0x3b, 0xc0, 0x00, 0x3f, 0xf9, 0x9f, 0xc0, 0x3f, 0xfd, 0xbf, 0xc0,
0x1f, 0xfd, 0xbf, 0x80, 0x0f, 0xfd, 0x7f, 0x00, 0x07, 0xfe, 0x7e, 0x00, 0x03, 0xfe, 0xfc, 0x00,
0x01, 0xff, 0xf8, 0x00, 0x00, 0xff, 0xf0, 0x00, 0x00, 0x7f, 0xe0, 0x00, 0x00, 0x3f, 0xc0, 0x00,
0x00, 0x0f, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
};
 
void onBeatDetected()
{
Serial.println("Beat!");
oled.drawBitmap( 60, 20, bitmap, 28, 28, 1);
oled.display();
}
 
void setup()
{
Serial.begin(9600);
 
oled.begin();
oled.clearDisplay();
oled.setTextSize(1);
oled.setTextColor(1);
oled.setCursor(0, 0);
 
oled.println("Initializing pulse oximeter..");
oled.display();
Serial.print("Initializing pulse oximeter..");
 
if (!pox.begin()) {
Serial.println("FAILED");
oled.clearDisplay();
oled.setTextSize(1);
oled.setTextColor(1);
oled.setCursor(0, 0);
oled.println("FAILED");
oled.display();
for(;;);
} else {
oled.clearDisplay();
oled.setTextSize(1);
oled.setTextColor(1);
oled.setCursor(0, 0);
oled.println("SUCCESS");
oled.display();
Serial.println("SUCCESS");
}
pox.setOnBeatDetectedCallback(onBeatDetected);
}
 
void loop()
{
pox.update();
 
if (millis() - tsLastReport > REPORTING_PERIOD_MS) {
Serial.print("Heart BPM:");
Serial.print(pox.getHeartRate());
Serial.print("-----");
Serial.print("Oxygen Percent:");
Serial.print(pox.getSpO2());
Serial.println("\n");
oled.clearDisplay();
oled.setTextSize(1);
oled.setTextColor(1);
oled.setCursor(0,16);
oled.println(pox.getHeartRate());
 
oled.setTextSize(1);
oled.setTextColor(1);
oled.setCursor(0, 0);
oled.println("Heart BPM");
 
oled.setTextSize(1);
oled.setTextColor(1);
oled.setCursor(0, 30);
oled.println("Spo2");
 
oled.setTextSize(1);
oled.setTextColor(1);
oled.setCursor(0,45);
oled.println(pox.getSpO2());
oled.display();
tsLastReport = millis();
}
}

Thank you for trying to use code tags. I have edited your reply and fixed them for you.

1 Like

I well try it thank you so much

I did nothing to the code. All I did was to put the initial 3 backticks on their own line to make the code tags work

أردوينو 1.8.2 (Windows 10), لوحة:"Arduino Uno"

In file included from C:\Users\Hp\Desktop\sketch_feb23a\sketch_feb23a.ino:5:0:

C:\Users\Hp\Documents\Arduino\libraries\Adafruit_GFX_Library/Adafruit_GFX.h:12:10: fatal error: Adafruit_I2CDevice.h: No such file or directory

#include <Adafruit_I2CDevice.h>

      ^~~~~~~~~~~~~~~~~~~~~~

compilation terminated.

?????? ??? ??? ?????? ??"MAX30100_PulseOximeter.h"
?????? : C:\Users\Hp\Documents\Arduino\libraries\Arduino-MAX30100-master
??? ?????? : C:\Program Files (x86)\Arduino\libraries\Arduino-MAX30100-master
??? ?????? : C:\Program Files (x86)\Arduino\libraries\Arduino-MAX30100-master
??? ?????? : C:\Program Files (x86)\Arduino\libraries\Arduino-MAX30100-master
??? ?????? : C:\Program Files (x86)\Arduino\libraries\Arduino-MAX30100-master
?????? ??? ??? ?????? ??"Adafruit_GFX.h"
?????? : C:\Users\Hp\Documents\Arduino\libraries\Adafruit_GFX_Library
??? ?????? : C:\Program Files (x86)\Arduino\libraries\Adafruit-GFX-Library-master
exit status 1
Error compiling for board Arduino Uno.

هذا التقرير قد يحتوي على معلومات أكثر مع تفعيل الخيار
"Show verbose output during compilation"
في ملف -> تفضيلات

i stack at this error


Adafruit_I2CDevice.h: No such file or directory

You need to install this library

sorry i took your time with me it works but this appers

FQBN: arduino:avr:uno
يتم استخدام اللوحة 'uno' من منصة داخل المجلد C:\Users\Hp\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6
يتم استخدام النواة 'arduino' من منصة داخل الملف C:\Users\Hp\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6

الكشف عن المكتبات المستخدمة ...
C:\Users\Hp\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=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -IC:\Users\Hp\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino -IC:\Users\Hp\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\standard C:\Users\Hp\AppData\Local\Temp\arduino\sketches\63727BA5A7A4E125C1BF3A490F9F2FAB\sketch\sketch_feb23aalmimoni.ino.cpp -o nul
البدائل ل Wire.h : [Wire@1.0]
ResolveLibrary(Wire.h)
-> المرشحون: [Wire@1.0]
C:\Users\Hp\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=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -IC:\Users\Hp\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino -IC:\Users\Hp\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\standard -IC:\Users\Hp\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\libraries\Wire\src C:\Users\Hp\AppData\Local\Temp\arduino\sketches\63727BA5A7A4E125C1BF3A490F9F2FAB\sketch\sketch_feb23aalmimoni.ino.cpp -o nul
البدائل ل MAX30100_PulseOximeter.h : [MAX30100lib@1.2.1]
ResolveLibrary(MAX30100_PulseOximeter.h)
-> المرشحون: [MAX30100lib@1.2.1]
C:\Users\Hp\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=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -IC:\Users\Hp\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino -IC:\Users\Hp\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\standard -IC:\Users\Hp\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\libraries\Wire\src -IC:\Users\Hp\Documents\Arduino\libraries\Arduino-MAX30100-master\src C:\Users\Hp\AppData\Local\Temp\arduino\sketches\63727BA5A7A4E125C1BF3A490F9F2FAB\sketch\sketch_feb23aalmimoni.ino.cpp -o nul
البدائل ل Adafruit_GFX.h : [Adafruit GFX Library@1.11.9]
ResolveLibrary(Adafruit_GFX.h)
-> المرشحون: [Adafruit GFX Library@1.11.9]
C:\Users\Hp\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=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -IC:\Users\Hp\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino -IC:\Users\Hp\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\standard -IC:\Users\Hp\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\libraries\Wire\src -IC:\Users\Hp\Documents\Arduino\libraries\Arduino-MAX30100-master\src -IC:\Users\Hp\Documents\Arduino\libraries\Adafruit_GFX_Library C:\Users\Hp\AppData\Local\Temp\arduino\sketches\63727BA5A7A4E125C1BF3A490F9F2FAB\sketch\sketch_feb23aalmimoni.ino.cpp -o nul
البدائل ل Adafruit_I2CDevice.h : [Adafruit BusIO@1.15.0]
ResolveLibrary(Adafruit_I2CDevice.h)
-> المرشحون: [Adafruit BusIO@1.15.0]
C:\Users\Hp\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=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -IC:\Users\Hp\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino -IC:\Users\Hp\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\standard -IC:\Users\Hp\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\libraries\Wire\src -IC:\Users\Hp\Documents\Arduino\libraries\Arduino-MAX30100-master\src -IC:\Users\Hp\Documents\Arduino\libraries\Adafruit_GFX_Library -IC:\Users\Hp\Documents\Arduino\libraries\Adafruit_BusIO C:\Users\Hp\AppData\Local\Temp\arduino\sketches\63727BA5A7A4E125C1BF3A490F9F2FAB\sketch\sketch_feb23aalmimoni.ino.cpp -o nul
البدائل ل SPI.h : [SPI@1.0]
ResolveLibrary(SPI.h)
-> المرشحون: [SPI@1.0]
C:\Users\Hp\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=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -IC:\Users\Hp\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino -IC:\Users\Hp\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\standard -IC:\Users\Hp\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\libraries\Wire\src -IC:\Users\Hp\Documents\Arduino\libraries\Arduino-MAX30100-master\src -IC:\Users\Hp\Documents\Arduino\libraries\Adafruit_GFX_Library -IC:\Users\Hp\Documents\Arduino\libraries\Adafruit_BusIO -IC:\Users\Hp\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\libraries\SPI\src C:\Users\Hp\AppData\Local\Temp\arduino\sketches\63727BA5A7A4E125C1BF3A490F9F2FAB\sketch\sketch_feb23aalmimoni.ino.cpp -o nul
البدائل ل OakOLED.h : [OakOLED@0.9.0]
ResolveLibrary(OakOLED.h)
-> المرشحون: [OakOLED@0.9.0]
C:\Users\Hp\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=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -IC:\Users\Hp\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino -IC:\Users\Hp\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\standard -IC:\Users\Hp\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\libraries\Wire\src -IC:\Users\Hp\Documents\Arduino\libraries\Arduino-MAX30100-master\src -IC:\Users\Hp\Documents\Arduino\libraries\Adafruit_GFX_Library -IC:\Users\Hp\Documents\Arduino\libraries\Adafruit_BusIO -IC:\Users\Hp\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\libraries\SPI\src -IC:\Users\Hp\Documents\Arduino\libraries\OakOLED-master C:\Users\Hp\AppData\Local\Temp\arduino\sketches\63727BA5A7A4E125C1BF3A490F9F2FAB\sketch\sketch_feb23aalmimoni.ino.cpp -o nul
يتم استخدام توابع المكتبة التي تم تخزينها مؤقتا من اجل الملف : C:\Users\Hp\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\libraries\Wire\src\Wire.cpp
يتم استخدام توابع المكتبة التي تم تخزينها مؤقتا من اجل الملف : C:\Users\Hp\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\libraries\Wire\src\utility\twi.c
يتم استخدام توابع المكتبة التي تم تخزينها مؤقتا من اجل الملف : C:\Users\Hp\Documents\Arduino\libraries\Arduino-MAX30100-master\src\MAX30100.cpp
يتم استخدام توابع المكتبة التي تم تخزينها مؤقتا من اجل الملف : C:\Users\Hp\Documents\Arduino\libraries\Arduino-MAX30100-master\src\MAX30100_BeatDetector.cpp
يتم استخدام توابع المكتبة التي تم تخزينها مؤقتا من اجل الملف : C:\Users\Hp\Documents\Arduino\libraries\Arduino-MAX30100-master\src\MAX30100_PulseOximeter.cpp
يتم استخدام توابع المكتبة التي تم تخزينها مؤقتا من اجل الملف : C:\Users\Hp\Documents\Arduino\libraries\Arduino-MAX30100-master\src\MAX30100_SpO2Calculator.cpp
يتم استخدام توابع المكتبة التي تم تخزينها مؤقتا من اجل الملف : C:\Users\Hp\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp
يتم استخدام توابع المكتبة التي تم تخزينها مؤقتا من اجل الملف : C:\Users\Hp\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GrayOLED.cpp
يتم استخدام توابع المكتبة التي تم تخزينها مؤقتا من اجل الملف : C:\Users\Hp\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_SPITFT.cpp
يتم استخدام توابع المكتبة التي تم تخزينها مؤقتا من اجل الملف : C:\Users\Hp\Documents\Arduino\libraries\Adafruit_GFX_Library\glcdfont.c
يتم استخدام توابع المكتبة التي تم تخزينها مؤقتا من اجل الملف : C:\Users\Hp\Documents\Arduino\libraries\Adafruit_BusIO\Adafruit_BusIO_Register.cpp
يتم استخدام توابع المكتبة التي تم تخزينها مؤقتا من اجل الملف : C:\Users\Hp\Documents\Arduino\libraries\Adafruit_BusIO\Adafruit_I2CDevice.cpp
يتم استخدام توابع المكتبة التي تم تخزينها مؤقتا من اجل الملف : C:\Users\Hp\Documents\Arduino\libraries\Adafruit_BusIO\Adafruit_SPIDevice.cpp
يتم استخدام توابع المكتبة التي تم تخزينها مؤقتا من اجل الملف : C:\Users\Hp\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\libraries\SPI\src\SPI.cpp
يتم استخدام توابع المكتبة التي تم تخزينها مؤقتا من اجل الملف : C:\Users\Hp\Documents\Arduino\libraries\OakOLED-master\OakOLED.cpp
يتم توليد النماذج الاولية للتوابع :
C:\Users\Hp\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=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -IC:\Users\Hp\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino -IC:\Users\Hp\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\standard -IC:\Users\Hp\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\libraries\Wire\src -IC:\Users\Hp\Documents\Arduino\libraries\Arduino-MAX30100-master\src -IC:\Users\Hp\Documents\Arduino\libraries\Adafruit_GFX_Library -IC:\Users\Hp\Documents\Arduino\libraries\Adafruit_BusIO -IC:\Users\Hp\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\libraries\SPI\src -IC:\Users\Hp\Documents\Arduino\libraries\OakOLED-master C:\Users\Hp\AppData\Local\Temp\arduino\sketches\63727BA5A7A4E125C1BF3A490F9F2FAB\sketch\sketch_feb23aalmimoni.ino.cpp -o C:\Users\Hp\AppData\Local\Temp\2445643833\sketch_merged.cpp
C:\Users\Hp\AppData\Local\Arduino15\packages\builtin\tools\ctags\5.8-arduino11/ctags -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives C:\Users\Hp\AppData\Local\Temp\2445643833\sketch_merged.cpp
ترجمة الشيفرة البرمجية...
"C:\Users\Hp\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=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Users\Hp\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino" "-IC:\Users\Hp\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\standard" "-IC:\Users\Hp\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\libraries\Wire\src" "-IC:\Users\Hp\Documents\Arduino\libraries\Arduino-MAX30100-master\src" "-IC:\Users\Hp\Documents\Arduino\libraries\Adafruit_GFX_Library" "-IC:\Users\Hp\Documents\Arduino\libraries\Adafruit_BusIO" "-IC:\Users\Hp\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\libraries\SPI\src" "-IC:\Users\Hp\Documents\Arduino\libraries\OakOLED-master" "C:\Users\Hp\AppData\Local\Temp\arduino\sketches\63727BA5A7A4E125C1BF3A490F9F2FAB\sketch\sketch_feb23aalmimoni.ino.cpp" -o "C:\Users\Hp\AppData\Local\Temp\arduino\sketches\63727BA5A7A4E125C1BF3A490F9F2FAB\sketch\sketch_feb23aalmimoni.ino.cpp.o"
يتم ترجمة المكتبات
يتم ترجمة المكتبة "Wire"
استخدام الملف المترجم سابقا: C:\Users\Hp\AppData\Local\Temp\arduino\sketches\63727BA5A7A4E125C1BF3A490F9F2FAB\libraries\Wire\utility\twi.c.o
استخدام الملف المترجم سابقا: C:\Users\Hp\AppData\Local\Temp\arduino\sketches\63727BA5A7A4E125C1BF3A490F9F2FAB\libraries\Wire\Wire.cpp.o
يتم ترجمة المكتبة "MAX30100lib"
استخدام الملف المترجم سابقا: C:\Users\Hp\AppData\Local\Temp\arduino\sketches\63727BA5A7A4E125C1BF3A490F9F2FAB\libraries\Arduino-MAX30100-master\MAX30100_SpO2Calculator.cpp.o
استخدام الملف المترجم سابقا: C:\Users\Hp\AppData\Local\Temp\arduino\sketches\63727BA5A7A4E125C1BF3A490F9F2FAB\libraries\Arduino-MAX30100-master\MAX30100_BeatDetector.cpp.o
استخدام الملف المترجم سابقا: C:\Users\Hp\AppData\Local\Temp\arduino\sketches\63727BA5A7A4E125C1BF3A490F9F2FAB\libraries\Arduino-MAX30100-master\MAX30100.cpp.o
استخدام الملف المترجم سابقا: C:\Users\Hp\AppData\Local\Temp\arduino\sketches\63727BA5A7A4E125C1BF3A490F9F2FAB\libraries\Arduino-MAX30100-master\MAX30100_PulseOximeter.cpp.o
يتم ترجمة المكتبة "Adafruit GFX Library"
استخدام الملف المترجم سابقا: C:\Users\Hp\AppData\Local\Temp\arduino\sketches\63727BA5A7A4E125C1BF3A490F9F2FAB\libraries\Adafruit_GFX_Library\glcdfont.c.o
استخدام الملف المترجم سابقا: C:\Users\Hp\AppData\Local\Temp\arduino\sketches\63727BA5A7A4E125C1BF3A490F9F2FAB\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp.o
استخدام الملف المترجم سابقا: C:\Users\Hp\AppData\Local\Temp\arduino\sketches\63727BA5A7A4E125C1BF3A490F9F2FAB\libraries\Adafruit_GFX_Library\Adafruit_GrayOLED.cpp.o
استخدام الملف المترجم سابقا: C:\Users\Hp\AppData\Local\Temp\arduino\sketches\63727BA5A7A4E125C1BF3A490F9F2FAB\libraries\Adafruit_GFX_Library\Adafruit_SPITFT.cpp.o
يتم ترجمة المكتبة "Adafruit BusIO"
استخدام الملف المترجم سابقا: C:\Users\Hp\AppData\Local\Temp\arduino\sketches\63727BA5A7A4E125C1BF3A490F9F2FAB\libraries\Adafruit_BusIO\Adafruit_BusIO_Register.cpp.o
استخدام الملف المترجم سابقا: C:\Users\Hp\AppData\Local\Temp\arduino\sketches\63727BA5A7A4E125C1BF3A490F9F2FAB\libraries\Adafruit_BusIO\Adafruit_I2CDevice.cpp.o
استخدام الملف المترجم سابقا: C:\Users\Hp\AppData\Local\Temp\arduino\sketches\63727BA5A7A4E125C1BF3A490F9F2FAB\libraries\Adafruit_BusIO\Adafruit_SPIDevice.cpp.o
يتم ترجمة المكتبة "SPI"
استخدام الملف المترجم سابقا: C:\Users\Hp\AppData\Local\Temp\arduino\sketches\63727BA5A7A4E125C1BF3A490F9F2FAB\libraries\SPI\SPI.cpp.o
يتم ترجمة المكتبة "OakOLED"
استخدام الملف المترجم سابقا: C:\Users\Hp\AppData\Local\Temp\arduino\sketches\63727BA5A7A4E125C1BF3A490F9F2FAB\libraries\OakOLED-master\OakOLED.cpp.o
يتم ترجمة النواة
يتم استخدام النواة التي تم ترجمتها مسبقا C:\Users\Hp\AppData\Local\Temp\arduino\cores\arduino_avr_uno_e38670b6bd340b6bb07ce06334bda0e0\core.a
جار ربط كل شيء مع بعضه
"C:\Users\Hp\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\Hp\AppData\Local\Temp\arduino\sketches\63727BA5A7A4E125C1BF3A490F9F2FAB/sketch_feb23aalmimoni.ino.elf" "C:\Users\Hp\AppData\Local\Temp\arduino\sketches\63727BA5A7A4E125C1BF3A490F9F2FAB\sketch\sketch_feb23aalmimoni.ino.cpp.o" "C:\Users\Hp\AppData\Local\Temp\arduino\sketches\63727BA5A7A4E125C1BF3A490F9F2FAB\libraries\Wire\Wire.cpp.o" "C:\Users\Hp\AppData\Local\Temp\arduino\sketches\63727BA5A7A4E125C1BF3A490F9F2FAB\libraries\Wire\utility\twi.c.o" "C:\Users\Hp\AppData\Local\Temp\arduino\sketches\63727BA5A7A4E125C1BF3A490F9F2FAB\libraries\Arduino-MAX30100-master\MAX30100.cpp.o" "C:\Users\Hp\AppData\Local\Temp\arduino\sketches\63727BA5A7A4E125C1BF3A490F9F2FAB\libraries\Arduino-MAX30100-master\MAX30100_BeatDetector.cpp.o" "C:\Users\Hp\AppData\Local\Temp\arduino\sketches\63727BA5A7A4E125C1BF3A490F9F2FAB\libraries\Arduino-MAX30100-master\MAX30100_PulseOximeter.cpp.o" "C:\Users\Hp\AppData\Local\Temp\arduino\sketches\63727BA5A7A4E125C1BF3A490F9F2FAB\libraries\Arduino-MAX30100-master\MAX30100_SpO2Calculator.cpp.o" "C:\Users\Hp\AppData\Local\Temp\arduino\sketches\63727BA5A7A4E125C1BF3A490F9F2FAB\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp.o" "C:\Users\Hp\AppData\Local\Temp\arduino\sketches\63727BA5A7A4E125C1BF3A490F9F2FAB\libraries\Adafruit_GFX_Library\Adafruit_GrayOLED.cpp.o" "C:\Users\Hp\AppData\Local\Temp\arduino\sketches\63727BA5A7A4E125C1BF3A490F9F2FAB\libraries\Adafruit_GFX_Library\Adafruit_SPITFT.cpp.o" "C:\Users\Hp\AppData\Local\Temp\arduino\sketches\63727BA5A7A4E125C1BF3A490F9F2FAB\libraries\Adafruit_GFX_Library\glcdfont.c.o" "C:\Users\Hp\AppData\Local\Temp\arduino\sketches\63727BA5A7A4E125C1BF3A490F9F2FAB\libraries\Adafruit_BusIO\Adafruit_BusIO_Register.cpp.o" "C:\Users\Hp\AppData\Local\Temp\arduino\sketches\63727BA5A7A4E125C1BF3A490F9F2FAB\libraries\Adafruit_BusIO\Adafruit_I2CDevice.cpp.o" "C:\Users\Hp\AppData\Local\Temp\arduino\sketches\63727BA5A7A4E125C1BF3A490F9F2FAB\libraries\Adafruit_BusIO\Adafruit_SPIDevice.cpp.o" "C:\Users\Hp\AppData\Local\Temp\arduino\sketches\63727BA5A7A4E125C1BF3A490F9F2FAB\libraries\SPI\SPI.cpp.o" "C:\Users\Hp\AppData\Local\Temp\arduino\sketches\63727BA5A7A4E125C1BF3A490F9F2FAB\libraries\OakOLED-master\OakOLED.cpp.o" "C:\Users\Hp\AppData\Local\Temp\arduino\sketches\63727BA5A7A4E125C1BF3A490F9F2FAB/..\..\cores\arduino_avr_uno_e38670b6bd340b6bb07ce06334bda0e0\core.a" "-LC:\Users\Hp\AppData\Local\Temp\arduino\sketches\63727BA5A7A4E125C1BF3A490F9F2FAB" -lm
"C:\Users\Hp\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\Hp\AppData\Local\Temp\arduino\sketches\63727BA5A7A4E125C1BF3A490F9F2FAB/sketch_feb23aalmimoni.ino.elf" "C:\Users\Hp\AppData\Local\Temp\arduino\sketches\63727BA5A7A4E125C1BF3A490F9F2FAB/sketch_feb23aalmimoni.ino.eep"
"C:\Users\Hp\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-objcopy" -O ihex -R .eeprom "C:\Users\Hp\AppData\Local\Temp\arduino\sketches\63727BA5A7A4E125C1BF3A490F9F2FAB/sketch_feb23aalmimoni.ino.elf" "C:\Users\Hp\AppData\Local\Temp\arduino\sketches\63727BA5A7A4E125C1BF3A490F9F2FAB/sketch_feb23aalmimoni.ino.hex"

استخدام المكتبة Wire الإصدار 1.0 في المجلد: C:\Users\Hp\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\libraries\Wire
استخدام المكتبة MAX30100lib الإصدار 1.2.1 في المجلد: C:\Users\Hp\Documents\Arduino\libraries\Arduino-MAX30100-master
استخدام المكتبة Adafruit GFX Library الإصدار 1.11.9 في المجلد: C:\Users\Hp\Documents\Arduino\libraries\Adafruit_GFX_Library
استخدام المكتبة Adafruit BusIO الإصدار 1.15.0 في المجلد: C:\Users\Hp\Documents\Arduino\libraries\Adafruit_BusIO
استخدام المكتبة SPI الإصدار 1.0 في المجلد: C:\Users\Hp\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\libraries\SPI
استخدام المكتبة OakOLED الإصدار 0.9.0 في المجلد: C:\Users\Hp\Documents\Arduino\libraries\OakOLED-master
"C:\Users\Hp\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-size" -A "C:\Users\Hp\AppData\Local\Temp\arduino\sketches\63727BA5A7A4E125C1BF3A490F9F2FAB/sketch_feb23aalmimoni.ino.elf"
المشروع يستخدم 15840 بايت (49%) من ذاكرة التخزين . الحجم الاقصى للبرنامج 32256 بايت
المتغيرات العامة تستخدم 1852 بايت (90%) من الرام ، تبقى 196 بايت للمتغيرات المحلية. الحجم الاقصى 2048 بايت.
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x56
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x56
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x56
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x56
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x56
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x56
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x56
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x56
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x56
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x56
تعذر الرفع: خطا اثناء الرفع exit status 1

Your other topic on the same subject deleted.

Please do not duplicate your questions as doing so wastes the time and effort of the volunteers trying to help you as they are then answering the same thing in different places.

Please create one topic only for your question and choose the forum category carefully. If you have multiple questions about the same project then please ask your questions in the one topic as the answers to one question provide useful context for the others, and also you won’t have to keep explaining your project repeatedly.

Repeated duplicate posting could result in a temporary or permanent ban from the forum.

Could you take a few moments to Learn How To Use The Forum

It will help you get the best out of the forum in the future.

Thank you.

1 Like

can i ask for some help because i cant make it upload ?

Have you installed this library ?

i search for it but its not in the library manger

It is available on GitHub, but if you install the Adafrtuit BusIO library from the Library Manager I think that it will be installed along with it

yes this library was installed, may i show you error masseges ?

Please feel free to post them but use code tags when you do

avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00
exit status 1
like that ? if its not please edite this topic and i well understand

Edit your post
Select the error message text
Click on the < CODE > icon and the code tags will be added
Delete any text that is not part of the error message
Add a new reply to say that you have done it