/gas_counter_esp8266_reed

Reed-switch-based gas meter counter with ESP8266 and MQTT

Primary LanguageC++

How to build PlatformIO based project

  1. Install PlatformIO Core
  2. Download development platform with examples
  3. Extract ZIP archive
  4. Run these commands:
# Change directory to example
> cd platform-espressif8266/examples/arduino-blink

# Build project
> platformio run

# Upload firmware
> platformio run --target upload

# Build specific environment
> platformio run -e nodemcuv2

# Upload firmware for the specific environment
> platformio run -e nodemcuv2 --target upload

# Clean build files
> platformio run --target clean