hallard / Scan-I2C-WiFi

ESP8266 I2C Scanner with oled display, WS2812 RGB Led and OTA
44 stars 14 forks source link

Commenting RGB_LED_PIN doesn't work #1

Open millenseer opened 8 years ago

millenseer commented 8 years ago

Minor issue

Since my ESP-board has no RGB-LED, I disabled the RGB_LED_PIN by commenting it out. Unfortunately, the code has too many references left, which are not surrounded by #ifdef RGB_LED_PIN blocks. The biggest issue was the led_color-counter used in drawProgress()

On the other hand - even though I don't have that RGB-LED, everything works out of the box!

Please find attached my rewritten example, just plain Wifi-Scanner, no LED, no Chi ... OLED-Wifi-Scanner.zip

hallard commented 8 years ago

@millenseer Thanks for the head-up, I fixed this issue