tinyPulsePPG icon indicating copy to clipboard operation
tinyPulsePPG copied to clipboard

Project doesn't build on Arduino 1.8

Open killercode opened this issue 4 years ago • 6 comments

Hello

Downloaded the source code and the first issue I found is that there are 2 filenames with the same name, difference is on capitalized letters and windows doesn't accept it.

After that opening the project will give errors like:

'USISR' was not declared in this scope

killercode avatar May 18 '20 19:05 killercode

Don’t know how that happened. I have deleted the duplicate file. The error that you have is usually caused by having the wrong target selected.

jeffmer avatar May 19 '20 05:05 jeffmer

Hi @killercode, I'm having the same issue as you (USISR etc.), did you find a solution yet?

karimelc avatar May 20 '20 07:05 karimelc

Is this an issue with the Attiny85 or the Nano version? My advice would be to see if you can build the nano version which uses fairly standard Arduino libraries.

jeffmer avatar May 20 '20 08:05 jeffmer

Hi @jeffmer, you are correct, the nano version builds fine after reinstall/cleaning. Thanks!

karimelc avatar May 21 '20 13:05 karimelc

Yes, I solved it: 1- Installed the library attinycore 2- removed the duplicate file 3- renamed the folder to match the .ino file name

Also I added an ifndef on the MAX30102.h file

I will post a fix for this now

killercode avatar May 21 '20 21:05 killercode

Hello, here is a fix for the problems I found

Pull Request: #5

Hope it helps

killercode avatar May 21 '20 21:05 killercode