mirror of https://github.com/arendst/Tasmota.git
Added comment about #include <Arduino.h> possibly being required.
parent
b13ef53938
commit
819cb1ece6
|
@ -22,6 +22,8 @@ The default environment configuration generates multiple firmware variants. To b
|
||||||
## Compile Tasmota
|
## Compile Tasmota
|
||||||
Select ``Build`` from the menu.
|
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
|
## 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.
|
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.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue