Controller
Status - WIP: ESP-NOW transmitter for range testing
TTGO T-Controller ESP Arduino Framework code, using PlatformIO.
Libraries:
Building and flashing
Clone repository and enter directory:
git clone https://github.com/marf41/Controller
cd ControllerSet your Wi-Fi SSID and password - create file include/wifi.hpp with:
const char* wifissid = "YOUR_SSID_HERE";
const char* wifipass = "YOUR_PASSWORD_HERE";WARNING: This file is in
.gitignore, so it will NOT be commited to git.
Adjust COM port in platformio.ini (COMx in Windows, /dev/ttyXXX in Linux):
[env:serial]
upload_port = COM3
upload_speed = 115200
Plug microUSB cable into the board, and flash it:
platformio run -t upload -e serialAfter upload and reboot, it should connect to WiFi and display assigned IP on OLED.
On subsequent uploads, You can set its IP in platformio.ini:
[env:ota]
upload_protocol = espota
upload_port = 192.168.0.15
And upload wirelessly using:
platformio run -t upload -e ota