'PD3' was not declared in this scope

trying to build daisyduino in platform.io just stubbed main with include:


#include <Arduino.h>

#include "DaisyDuino.h"

void setup() {

// put your setup code here, to run once:

}

void loop() {

// put your main code here, to run repeatedly:

}

getting this error
.pio\libdeps\electrosmith_daisy\DaisyDuino\src\AudioClass.cpp: In member function ‘AudioClass::BoardVersion AudioClass::BoardVersionCheck()’:
.pio\libdeps\electrosmith_daisy\DaisyDuino\src\AudioClass.cpp:271:13: error: ‘PD3’ was not declared in this scope; did you mean ‘D3’?

I did not gave the daisy seed another try for months.

I updated the environment, updated the daisyduino library from the arduino environment…

And i got exactly the same kind of errors.

Is the Arduino environment still up to date.
Maybe we have to switch to more hard core C++ environment ?

Few months back, I was able to get DaisyDuino working with PlatformIO.

Here’s a quick setup guide that I put together.

Let me know if you have any questions.

1 Like

Thank you very much, i will update my environment.

1 Like