Get Started
What is PlatformIO?
PlatformIO IDE
PlatformIO Core (CLI)
Tutorials
Project Examples
Solutions
PlatformIO IDE
PlatformIO Core (CLI)
Debugging
Unit Testing
Static Code Analysis
Remote Development
Library Management
Desktop IDEs Integration
Cloud IDEs Integration
Continuous Integration
Registry
Docs
Community
Support
TECHNOLOGY
PlatformIO Community
Error converting arduino to platform io (C++) : identifier "D21" is undefined
ivankravets
November 14, 2018, 6:06pm
3
You need
#include <Arduino.h>
at the top of CPP file.
1 Like
show post in topic