Simple way to monitor stocks using the TTGO board
Please install first PlatformIO open source ecosystem for IoT development compatible with Arduino IDE and its command line tools (Windows, MacOs and Linux).
Set your Wifi crendentials and API key in the configuration file: platformio.ini or export your configuration via environment variables like this:
export PIO_WIFI_SSID="your-wifi-ssid"
export PIO_WIFI_PASSWORD="your-wifi-password"
export FINHUB_API_KEY="your-api-key"
For compiling and uploading the firmware via USB cable, you only need execute the next command in the root directory:
pio run --target upload