Informazione

I try to load a downloaded code for the operation of a saturameter downloaded from an electronic magazine. The project has Components Arduino,MAX30100-Max30102 and an IPS ST7735 display. When the code is verified, I have the following formulation:unable to convert sensor MAX30100:: begin(pulse width)3,(led current)14,(sample Rate) 1) from 'void' to 'bool'. Where's the mistake? I'm attaching the program.

MAX30102.ino (10.2 KB)

I've deleted your other cross-posts @otta1_2020.

Cross-posting is against the rules of the forum. The reason is that duplicate posts can waste the time of the people trying to help. Someone might spend 15 minutes (or more) writing a detailed answer on this topic, without knowing that someone else already did the same in the other topic.

Repeated cross-posting will result in a suspension from the forum.

In the future, please take some time to pick the forum board that best suits the topic of your question and then only post once to that forum board. This is basic forum etiquette, as explained in the sticky "How to use this forum - please read." post you will find at the top of every forum board. It contains a lot of other useful information. Please read it.

Thanks in advance for your cooperation.

this code compiles correctly for me with just one warning

[size=8pt][color=red].../Adafruit_GFX.cpp: In member function 'virtual void Adafruit_GFX::invertDisplay(bool)':
.../Adafruit_GFX_Library/Adafruit_GFX.cpp:1532:39: warning: unused parameter 'i' [-Wunused-parameter]
 void Adafruit_GFX::invertDisplay(bool i) {
                                       ^[/color][/size]

which is no big deal. Are you sure you installed correctly the various libraries that are needed ?

(test done on my Mac, with latest release of IDE and libraries)

The libraries are the ones you see in the Sketch I don't think they're wrong. But did you complete the build? My IDE is 1.8.13.

The libraries are the ones you see in the Sketch

that is not helping much, I only see the .h name, it many libraries could have the same name.

I fully compiled for a uno with no issue (beside the light warning) With the first hit of the .h I found in GitHub

Hello, I'm new to the forum and then as you post in the forum visible to everyone. Sorry for my mistake, another question,if I do not disturb,how can I pass my topic on the forum in Italian? Thank you for your response.

I have now moved your topic to the International > Italiano > Software forum board, as requested.

Regards, Per

Nella sezione italiana si scrive in italiano...
Credo che avresti dovuto seguire la discussione in inglese per qualche giorno e poi, se non ottenevi più risposte, avvisare e iniziare una nuova discussione nella sezione italiana.

>otta1_2020: qui si scrive e si risponde SOLO in Italiano.

Questo tuo thread viene chiuso e, se vuoi, ne apri uno nuovo in Italiano solo dopo esserti presentato IN QUESTO THREAD

Guglielmo

P.S.: Consiglio anche, per evitare qualsiasi altro problema, di leggere con attenzione TUTTO il REGOLAMENTO della sezione Italiana del forum.