Added comment about #include <Arduino.h> possibly being required.

Rob de Jonge 2018-11-10 15:06:53 +07:00
parent b13ef53938
commit 819cb1ece6
1 changed files with 2 additions and 0 deletions

@ -22,6 +22,8 @@ The default environment configuration generates multiple firmware variants. To b
## Compile Tasmota
Select ``Build`` from the menu.
Note that where the Arduino IDE automatically includes the main Arduino library, you may need to manually do this when using PlatformIO. In your main ``.cpp`` file, add ``#include <Arduino.h>`` at the top.
## Upload Tasmota
PlatformIO uses the serial interface to upload the firmware to your device. On Windows these interfaces are named COM1, COM2 etc. On Linux these interfaces are called /dev/ttyUSB0, /dev/ttyUSB1 etc.